Skip to content

.load() documentation unclear about applying to multiple elements #1125

Closed
@Chealer

Description

@Chealer

The Description in .load()'s documentation ("Load data from the server and place the returned HTML into the matched element") implies the jQuery object must contain a single element.

While none of the examples of the page contradict that, the callback's description implies multiple elements are possible:

The callback is fired once for each element in the jQuery collection, and this is set to each DOM element in turn.

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