取消設(shè)置實(shí)現(xiàn)
function concel(){ var con=confirm("取消設(shè)置?"); if(con==true){ ? ?var mychar=document.getElementById("txt") mychar.removeAttribute("style"); } } 這樣就對(duì)了
function concel(){ var con=confirm("取消設(shè)置?"); if(con==true){ ? ?var mychar=document.getElementById("txt") mychar.removeAttribute("style"); } } 這樣就對(duì)了
2016-04-15
舉報(bào)
2016-04-15
function cancle() ?
??????? { ?
??????? var mychar = confirm("是否取消設(shè)置");
??????? if(mychar==true)
??????? {
??????????? var mychar=document.getElementById("txt");
??????????? mychar.removeAttribute("style");???? ?
?????? ?
??????? }else{}
?? ??? ?}?