2016年7月3日

待定(JavaScript)

摘要: //1.匿名函数自执行 (function(){ test2(); })(); //原生js 跨浏览器绑定事件 function test2(){ var obj = document.getElementById("button1"); //dom浏览器 if(obj.addEventListen 阅读全文

posted @ 2016-07-03 23:18 8t5t 阅读(144) 评论(0) 推荐(0)

导航