• 使用node.childNodes方法时,IE和firefox对xml文件的过行和缩进的处理不同,IE会自动省略过行和缩进,而firefox却不会,这就导致了node.childNodes.length在两种浏览器中所得到的值不同。
  • firefox有hasAttributes()方法,IE没有。
  • You should only use access by index when enumerating over element's attributes。
posted on 2007-03-22 22:21  oliverhuang  阅读(151)  评论(0编辑  收藏  举报