使用元素的getAttribute() 方法可以读取指定属性的值。用法如下: getAttribute(name) 参数name 表示属性名称。 使用元素的attributes 属性、getAttributeNode() 方法 ...
確定! 回上一頁