getElementsByTagName

 任何元素,除非你确定它是现存的,以后也会存在的,否则不要用从DOM搜索出来的东西做全局变量
posted @ 2015-12-06 01:40  /null  阅读(102)  评论(0)    收藏  举报