fungsi klik jQuery
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
Confused Cobra
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
$( "#other" ).click(function() {
$( "#target" ).click();
});
$("p").click(function(){
alert("The paragraph was clicked.");
});
$(elem).click(myFunc());
$( "#other" ).click(function() {
$( "#target" ).click();
});