Skip to content

Correct data-last-value="43" vs .data( "lastValue" ) === 43; discrepancy #427

@robertmaxrees

Description

@robertmaxrees

In the documentation for .data(), there is an example div:

The accompanying example contains this:

All of the following jQuery code will work.
...
2 $( "div" ).data( "lastValue" ) === 43;

The example should be corrected to be more accurate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions