bar.setAttribute("onclick", "");这里利用setAttribute指定onclick属性,简单很好理解。但是IE不支持。 为达到兼容各种浏览器的效果,可以用点符号来设置 ...
確定! 回上一頁