setAttribute 与 class冲突解决
假设,我们要使用setAttribute来改变一个dom的class时,应该如何写?1. setAttribute("class","red")2. setAttribute("className","red") 答案是:选项1. 在firefox下使用选项2. 在IE下使用 如果在IE下给DOM
假设,我们要使用setAttribute来改变一个dom的class时,应该如何写?1. setAttribute("class","red")2. setAttribute("className","red") 答案是:选项1. 在firefox下使用选项2. 在IE下使用 如果在IE下给DOM
http://developer.mozilla.org/en/ ... _Language_Resourceshttp://developer.mozilla.org/en/docs/About_JavaScripthttp://developer.mozilla.org/en/docs/New_
这些站点都是个人学习过程中搜集的一些js站点,其中大部分是国外的(国内资源相对还是很少啊),感觉内容都不错,而且一些资源的更新都比较快,希望对各位朋友能有所帮助。学习资源:http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Referen
英文原文: http://blogs.law.harvard.edu/tech/rss ibm上的中文讲解: http://www-900.ibm.com/developerWorks/cn/xml/x-rss20/index.shtml RSS 2.0 概述 RSS 是一种 XML 方言,用于连锁