請問取消設置為什么沒成功?
求各位大神幫忙找下錯~
function?reset1(){
????var?reset=confirm("取消設置嗎?");
????if(reset=="true")
????{
?????var?dd?=?document.getElementById("txt");?
?????dd.style.color="#000";
?????dd.style.backgroundColor="#fff";
?dd.style.width="600px";
?dd.style.height="400px";
?dd.style.display="block";
????}
}附截圖
2015-06-29
換個變量名,別用reset做變量名