Skip to content

.prop() documentation has incorrectly placed parenthesis #1003

Closed
@james1293

Description

@james1293

Line 89 has a parenthesis too early.
Here are lines 86 through 89:

 $( "p" ).html(
    ".attr( \"checked\" ): <b>" + $input.attr( "checked" ) + "</b><br>" +
    ".prop( \"checked\" ): <b>" + $input.prop( "checked" ) + "</b><br>" +
    ".is( \":checked\" ): <b>" + $input.is( ":checked" ) ) + "</b>";

Line 89 should be
".is( \":checked\" ): <b>" + $input.is( ":checked" ) + "</b>");
so that the + "</b>" is in the .html() command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions