HTML DOM setAttribute() 方法元素对象实例 设置input元素的的属性类型: document.getElementsByTagName('INPUT')[0].setAttribute('type','button'); 设置属性前: ...
確定! 回上一頁