Skip to content

:eq(-x) needs to be updated to reflect 1.8 changes #83

@ajpiano

Description

@ajpiano

Porting from 12682 in Trac.

Current docs state "Unlike the .eq(index) method, the :eq(index) selector does not accept a negative value for index. For example, while $('li').eq(-1) selects the last li element, $('li:eq(-1)') selects nothing." However according to @dmethvin's comment, this is fixed in 1.8 and :eq and .eq() work the same with negative indices, docs need to be updated to reflect this.

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