我的可以彈出確定框但是沒反應是怎么回事?
function cancleSet(){
??????? if(confirm("是否確定取消設置?"==true)){
??????????? var mycancle=document.getElemntById("txt");
??????????? mycancle.removeAttribute("style");
??????? }
??? }
function cancleSet(){
??????? if(confirm("是否確定取消設置?"==true)){
??????????? var mycancle=document.getElemntById("txt");
??????????? mycancle.removeAttribute("style");
??????? }
??? }
2016-07-27
舉報
2016-07-27
if(confirm("是否確定取消設置?")==true)?
vae mycancle=document.getElementById("txt");
2016-07-27
?if(confirm("是否確定取消設置?"==true)) 括號寫錯地方了0 0
getElemntById ?:element拼錯了0 0
改了之后我的可以正常執行嗯