firefox 关于非标准属性值的读取与ie的区别
在ie中,obj.setAttribute("")obj.setAttribute("a","b")<==>obj.a="b"; obj.getAttribute("a")<==>obj.a;
而在firefox 中,obj.setAttribute("")obj.setAttribute("a","b")<≠>obj.a="b"; obj.getAttribute("a")<≠>obj.a;
示例:
運行後的結果爲:

posted on 2010-04-22 20:19 liangGe_sky 阅读(155) 评论(0) 收藏 举报
浙公网安备 33010602011771号