用javascript控制readOnly属性
document.form.name.readOnly=false;
或者
document.getElementById("name").readOnly=false;
关键是readOnly 注意大小写,js中连词首字母大写
发布时间: 2012-10-09 10:21:45 作者: rapoo
用javascript控制readOnly属性
document.form.name.readOnly=false;
或者
document.getElementById("name").readOnly=false;
关键是readOnly 注意大小写,js中连词首字母大写