Opened 10 years ago
Closed 10 years ago
#13124 closed bug (notabug)
jQuery.attr invalid result for "checked" custom attribute...
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
http://jsfiddle.net/wbaldwin/H58xL/
Notice the only difference between the two tests is the name of the custom attributes ("checked" and "isChecked"). isChecked works as expected - checked does not. Not only doesn't it parse the bool, it actully ignores the value completely, always returning "checked".
Note: See
TracTickets for help on using
tickets.
"checked" has special semantics in HTML, this is invalid.