用法如下:. getAttribute(name). 引數name 表示屬性名稱。 使用元素的attributes 屬性、getAttributeNode() 方法可以返回對應屬性節點。
確定! 回上一頁