DOM Element 对象 setAttributeNode() 方法将新属性节点设置为现有元素。 语法. 以下是使用 setAttributeNode() 方法的语法。 elementObj.setAttributeNode(newAttr).
確定! 回上一頁