Skip to content

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

Closed
@jwatkin

Description

@jwatkin

On this page:
http://api.jquery.com/prop/

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.

Jim

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions