on() code example Example: /on in jquery $( "#dataTable tbody tr" ).on( "click", function() { console.log( $( this ).text() ); });