如何使用jQuery启用radiobutton列表

时间:2013-10-27 08:47:50

标签: jquery

当在服务器端禁用jQuery时,如何在IE 8中使用jQuery启用radiobutton列表。 该代码在Chrome中运行良好,但无法在IE 8中启用它。

$(this).removeAttr("disabled"); //code works in Chrome, but not in IE 

1 个答案:

答案 0 :(得分:1)

更好地使用它:

$(this).attr('disabled', false);