求各位大神帮忙找下错~
function reset1(){
var reset=confirm("取消设置吗?");
if(reset=="true")
{
var dd = document.getElementById("txt");
dd.style.color="#000";
dd.style.backgroundColor="#fff";
dd.style.width="600px";
dd.style.height="400px";
dd.style.display="block";
}
}附截图
换个变量名,别用reset做变量名