Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Possible bug in prop() documentation, regarding statement about checkbox state and attr() #288

jwatkin opened this Issue · 2 comments

4 participants


On this page:

this line of text seems wrong:

"$(elem).attr("checked") (1.6.1+) "checked" (String) Will change with checkbox state"

shouldn't this read, "Initial state of the checkbox; does not change" instead?

The Example just below it seems to support my opinion.



Indeed, there are two parts in direct contradiction:

' $(elem).attr("checked") (1.6.1+) "checked" (String) Will change with checkbox state'

'The checked attribute value does not change with the state of the checkbox'

The top one is correct in 1.8.3. Specifically, it switches between the string "checked" and undefined, depending on whether it's checked.


Thanks! Yes, that needs to be corrected. It was changed to the correct behavior in 1.9/2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.