/定义"取消设置"的函数 function cancle() { var chose=confirm("是取消设置?"); if(chose=true) { var txt=document.getElementById("txt"); txt.removeAttribute("style"); } }
新内容