#10351 closed bug (duplicate)
$('#xxoo').removeAttr('disabled');
Reported by: | Jimmy | Owned by: | Jimmy |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | attributes | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Today I meet a problem in jQuery Library 1.6.2. The function removeAttr('disabled') does not work. Follow me and I will show how I find it.
- I make a button in the HTML page,and make is attribute disabled='disabled'
- I use the function: $('#xxoo').removeAttr('disabled')
- Then I find that, this button can trigger its function, but the appearance of the button looks like a button with the disabled='disable'
- Last I use the JavaScript phrase. I find the button normal.
I'm so sorry my English is poor! If I can not express my idea please contact me to
or
Change History (7)
comment:1 Changed 11 years ago by
comment:3 Changed 11 years ago by
Component: | unfiled → attributes |
---|---|
Owner: | set to Jimmy |
Priority: | undecided → low |
Status: | new → pending |
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/
Open the link and click to "Fork" (in the top menu) to get started.
comment:4 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | pending → closed |
comment:6 Changed 11 years ago by
if you are using jquery 1.6+, you must use this:
$('#xxoo').prop('disabled',false);
Please contact me if anyone knows that