js如何将按钮设为禁用?

//如何禁用按钮

form1.btnUpload.disabled = "disabled";

//将按钮设为禁用

document.getElementById("Submit").setAttribute("disabled",true);

//将按钮设为禁用

document.getElementById("Submit").disabled=true;

猜你喜欢

转载自blog.csdn.net/qq_20446879/article/details/79519386