想問(wèn)這段到底應(yīng)該怎么寫(xiě)呀。有大神--看看嘛
//定義"取消設(shè)置"的函數(shù)
? ? function exit(){
? ? ? ? var vv=confirm("是否取消設(shè)置?");
? ? ? ? if( vv==ture){
? ? ? ? ? ? ?qq.removeAttribute("style");
? ? ? ? }else{
? ? ? ? ? ??
? ? ? ? }
? ? ? ? ?
? ? }
//定義"取消設(shè)置"的函數(shù)
? ? function exit(){
? ? ? ? var vv=confirm("是否取消設(shè)置?");
? ? ? ? if( vv==ture){
? ? ? ? ? ? ?qq.removeAttribute("style");
? ? ? ? }else{
? ? ? ? ? ??
? ? ? ? }
? ? ? ? ?
? ? }
2018-12-28
舉報(bào)
2019-05-18
//定義"取消設(shè)置"的函數(shù)
function exStyle(){
? ? var exit =confirm("是否取消設(shè)置");
? ? if(exit == true){
? ? ? ? txt.style.color = "";
? ? ? ? txt.style.backgroundColor="";
? ? ? ? txt.style.display = "";
? ? }
}