首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

js中disable的运用

2012-09-25 
js中disable的使用input idmytext typetext value我是不能用的input typebutton valuedi

js中disable的使用

<input id="mytext" type="text" value="我是不能用的"><input type="button" value="disabled" onClick="javascript: document.all.mytext.disabled='false'"><input type="button" value="enable" onClick="javascript: document.all.mytext.removeAttribute('disabled')">

?

热点排行