function re(){? ? ? ? confirm("是否取消設置?");? ? ? ? if(confirm){? ? ? ? ? ? var con=document.getElementById("con");? ? ? ? ? ? var txt=document.getElementById("txt");? ? ? ? ? ? con.removeAttribute("style");? ? ? ? ? ? txt.removeAttribute("style");? ? ? ? }? ? }function re(){? ? ? ? confirm("是否取消設置?");? ? ? ? if(confirm==true){? ? ? ? ? ? var con=document.getElementById("con");? ? ? ? ? ? var txt=document.getElementById("txt");? ? ? ? ? ? con.removeAttribute("style");? ? ? ? ? ? txt.removeAttribute("style");? ? ? ? }? ? }function re(){? ? ? ? confirm("是否取消設置?");? ? ? ? if(confirm=true){? ? ? ? ? ? var con=document.getElementById("con");? ? ? ? ? ? var txt=document.getElementById("txt");? ? ? ? ? ? con.removeAttribute("style");? ? ? ? ? ? txt.removeAttribute("style");? ? ? ? }? ? }請大神幫我解惑,這三個寫法if()中的判斷是什么意思,,,暈頭轉向的
if 判斷求解
慕粉1469491289
2016-09-14 22:05:27