Skip to main content

Bug Tracker

Side navigation

#13124 closed bug (notabug)

Opened December 27, 2012 10:10PM UTC

Closed December 27, 2012 10:18PM UTC

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

Reported by: wes.baldwin@gmail.com 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".

Attachments (0)
Change History (1)

Changed December 27, 2012 10:18PM UTC by rwaldron comment:1

resolution: → notabug
status: newclosed

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