用法如下: setAttribute(name, value) 参数name 和value 分别表示属性名称和属性值。属性名和属性值必须以字符串的形式 ... JS setAttribute()方法:设置元素的属性值.
確定! 回上一頁