JQuery AddEventListener
$( "#dataTable tbody tr" ).on( "click", function() {
console.log( $( this ).text() );
});
Tomas Maillo
$( "#dataTable tbody tr" ).on( "click", function() {
console.log( $( this ).text() );
});
$(document).on("click","#test-element",function() {});