Acara klik jQuery
$('#selector').on('click',function(){
//Your code here
});
Dr. Hippo
$('#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() {});