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