Modify ↓
Ticket #9790 (closed bug: worksforme)
Bug
| Reported by: | yehang1987@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | attributes | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I am chinese,my english is very bad,sorry. JQ 1.6.2 bug ?? : <script> function fn1(){ $("#a").attr("disabled","disabled"); } function fn2(){ $("#a").removeAttr("disabled"); } </script> <input type="text" id="a" value="test" / > <input type="button" value="attr" onClick="fn1()" /> <input type="button" value="removeattr" onClick="fn2()" />
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

See the docs for http://api.jquery.com/prop. jQuery 1.6 did have a change in behavior, but jQuery 1.6.1+ works fine. http://jsfiddle.net/timmywil/JvjvB/