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

WBOY
Release: 2016-06-06 20:46:47
Original
1158 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template