取消設(shè)置沒起作用,出現(xiàn)對話窗點(diǎn)確定后沒反應(yīng)
//定義"取消設(shè)置"的函數(shù)
function quxiao(){
? ? var myss=confirm("確認(rèn)取消設(shè)置?")
? ? if (myss==ture){
? ? ? ? nr.removeAttribute("style");
? ? }? ?
}
//定義"取消設(shè)置"的函數(shù)
function quxiao(){
? ? var myss=confirm("確認(rèn)取消設(shè)置?")
? ? if (myss==ture){
? ? ? ? nr.removeAttribute("style");
? ? }? ?
}
2016-06-22
舉報
2016-06-22
知道了,應(yīng)該是true