摘要: 事件绑用快捷方式 $("button:first").click(function(){ alert(1); }); 使用on绑定事件 ① 使用on进行单事件绑定$("button").on("click",function(){ $(this) 取到当前调用事件函数的对象 console.log( 阅读全文
posted @ 2017-04-23 23:24 L茨木 阅读(206) 评论(0) 推荐(0) 编辑