El objeto del evento
// Binding a named function
function sayHello( event ) {
alert( "Hello." );
}
$( "#helloBtn" ).on( "click", sayHello );
Poised Pheasant
// Binding a named function
function sayHello( event ) {
alert( "Hello." );
}
$( "#helloBtn" ).on( "click", sayHello );