摘要: document.onselectstart=function(){ return false;}今天在网上查了下,每种浏览器都有特定的解决方法以上是chrome,IE9能支持。addEventlistener不能使用selectstart,不知道为何,有时间找下为什么不能绑定。。body.setAttribute("style","-moz-user-select:none")上面为FF,FF是通过设置自有的css属性-moz-user-select:none 是其不能被选中综合IE9,CHROME,FF function clearSelect(b) 阅读全文
posted @ 2013-05-19 22:50 winenr123 阅读(225) 评论(0) 推荐(0)