为什么显示的内容出不来
function cofirm(){
var message=confirm("Hellow word");
if(message==true){ document.write("yes");}
else{document.write("no");}
}
<input name="button2" type="button" onclick="confirm()" value="xiaoxiao" />
function cofirm(){
var message=confirm("Hellow word");
if(message==true){ document.write("yes");}
else{document.write("no");}
}
<input name="button2" type="button" onclick="confirm()" value="xiaoxiao" />
2016-05-23
举报