$('#selector').on('click',function(){ //Your code here });
$( "#dataTable tbody tr" ).on( "click", function() { console.log( $( this ).text() ); });
$( "#foo" ).bind( "click", function() { alert( "User clicked on 'foo.'" ); });
$(document).on("click","#test-element",function() {});