如何在运行时从文本框中删除禁用的属性

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)

nic*_*ist 9

使用$(document).ready-

$(document).ready(function(){
     $('#Yes').removeAttr("disabled");
});
Run Code Online (Sandbox Code Playgroud)

小提琴:http://jsfiddle.net/HfXBE/