Home  >  Article  >  Backend Development  >  javascript - jQuery('#cancel').removeAttr('disabled');这句话IE不能兼容,你能给出兼容IE系列,FF,chrome的程序?

javascript - jQuery('#cancel').removeAttr('disabled');这句话IE不能兼容,你能给出兼容IE系列,FF,chrome的程序?

WBOY
WBOYOriginal
2016-06-06 20:46:471135browse

jQuery('#cancel').removeAttr('disabled');这句话IE不能兼容,你能给出兼容IE系列,FF,chrome的程序?

回复内容:

jQuery('#cancel').removeAttr('disabled');这句话IE不能兼容,你能给出兼容IE系列,FF,chrome的程序?

jQuery('#cancel').prop("disabled",false);
参考:
http://blog.sina.com.cn/s/blog_655388ed01017cnc.html

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn