我试图禁用
一个按钮 – 在IE中使用jQuery 1.4.4以下
代码
jQuery(‘#id’).attr(“disabled”,true);
随着HTML的
<button id="id" type="button"
class="some-class"
disabled="">Comment</button>
适用于FF,Chrome等,当然,在IE中不起作用?我该怎么办?
即< button disabled =“disabled”>似乎不适用于IE或?
修改:另请注意< button id ='id'已停用> foobar< / button>是有效的HTML