Skip to content

Image error() handler example behaves incorrectly #413

Closed
@theBRiGuy

Description

@theBRiGuy

http://api.jquery.com/error/

The example's intention is to assign the new missing.png src ONLY if the image loads with an error.

Actual result: It seems that the example given behaves incorrectly. The image "missing.png" will be assigned to the selector's attribute regardless of whether or not the image loaded with an error.

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