摘要: if(document.all){ //ie document.getElementById("div").attachEvent('onlick',function(){ alert(""); }) }else{//w3c document.getElementById("div").addEventListener('click',function(){ ... 阅读全文
posted @ 2017-06-26 10:28 riyyao92 阅读(251) 评论(0) 推荐(0)