yog*_*gee 5 html asp.net jquery
如何在运行时从asp.net MVC中的文本框中删除禁用的属性
以Html格式
<input id="Yes" type="radio" value="Yes" tabindex="8" name="rdoRecommend" disabled="">
$('#Yes').removeAttr("disabled"); is not working.
Run Code Online (Sandbox Code Playgroud)
使用$(document).ready-
$(document).ready(function(){
$('#Yes').removeAttr("disabled");
});
Run Code Online (Sandbox Code Playgroud)
小提琴:http://jsfiddle.net/HfXBE/
| 归档时间: |
|
| 查看次数: |
8819 次 |
| 最近记录: |