📜  javascript代码示例在html中的只读属性

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

代码示例1
document.getElementById("yourID").readOnly = true;