选择器 $("#test2").click(function() #test2 表示 选择 id为test2的html元素 $("button").click(function() 选择所有button按钮 事件 $("button").click(function()//单击触发 $("button").ablclick(function()//双击触发 $("button").mouseenter()//鼠标轻触