1 var btn=document.getElementById("btn1");2 btn.addEventListener("click",function(){alert("hello")},false); btn.ad 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交