📌  相关文章
📜  javascript getelementbyid disable - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:21.683000             🧑  作者: Mango

代码示例1
//javascript getelementbyid disable
//Enable a button
document.getElementById("Button").disabled=false;

//Disable a button
document.getElementById("Button").disabled=true;