學習筆記:DOM基礎知識(重要)

/*獲取頁面中元素的方法:     document.getElementById()     context.getElementsByTagName(TAGNAME)把指定容器中子子孫孫所有標籤名爲     TAGNAME的都獲取到     context.getELementsByClassName(CLASSNAME) 在IE6-8下不兼容     document.getElements
相關文章
相關標籤/搜索