Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13124 closed bug (notabug)

jQuery.attr invalid result for "checked" custom attribute...

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:



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".

Change History (1)

comment:1 Changed 10 years ago by Rick Waldron

Resolution: notabug
Status: newclosed

"checked" has special semantics in HTML, this is invalid.

Note: See TracTickets for help on using tickets.