Skip to content

The unload docs have incorrect examples. #388

@mgol

Description

@mgol

The page under http://api.jquery.com/unload/ shows an example with alert which no longer works (in Chrome, Firefox) due to browser changes. The only allowed thing to do in the beforeunload handler are returning a string.

Originally reported as a jQuery bug: http://bugs.jquery.com/ticket/14559

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