使按钮变灰不可用方法

按钮变灰不可用方法:

document.getElementById(“ID”).setAttribute(“disabled”, true);
ID为元素的具体id值。

猜你喜欢

转载自blog.csdn.net/weixin_43986414/article/details/84852284