📜  jquery 绑定点击 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:18.031000             🧑  作者: Mango

代码示例1
$( "#foo" ).bind( "click", function() {
  alert( "User clicked on 'foo.'" );
});