摘要: document.getElementById("divid").setAttribute("onmouseout", "javascript:this.style.backgroundColor='#fff'"); 上面这行代码在Firefox 下能正常运行,然后放在IE下却不能运行.因为在IE下这行代码没有生效 给上面一行代码稍作修改就能使它兼容在IE和FF下. document.getEle... 阅读全文
posted @ 2008-04-25 10:50 Anson2020 阅读(1877) 评论(3) 推荐(0) 编辑