removeAttribute屬性
function remov(){ ? ?var index = window.confirm("您確定要取消設(shè)置嗎?"); ? ?if(index){ ? ? ? ?con.removeAttribute("style"); ? ? ? ?txt.removeAttribute("style"); ? ? ? ?three.removeAttribute("style"); ? ?} }
function remov(){ ? ?var index = window.confirm("您確定要取消設(shè)置嗎?"); ? ?if(index){ ? ? ? ?con.removeAttribute("style"); ? ? ? ?txt.removeAttribute("style"); ? ? ? ?three.removeAttribute("style"); ? ?} }
2015-07-14
舉報(bào)
2015-07-26
刪除指定的屬性,如果指定的屬性存在默認(rèn)值,那么調(diào)用 getAttribute() 方法返回默認(rèn)值