📅  最后修改于: 2022-03-11 14:55:37.038000             🧑  作者: Mango
代码示例1
// Binding a named function
function sayHello( event ) {
alert( "Hello." );
}
$( "#helloBtn" ).on( "click", sayHello );