Dokumen pada klik
$(document).on("click","#test-element",function() {
alert("click");
});
Stupid Ninja
$(document).on("click","#test-element",function() {
alert("click");
});
$( "#dataTable tbody tr" ).on( "click", function() {
console.log( $( this ).text() );
});
$(document).on("click","#test-element",function() {});