Skip to content

jQuery function filter with attribute name contains square bracket is not working #4170

@colandchan

Description

@colandchan

Description

Select elements by name attribute, then use filter with selector. If the selector contains square bracket, sometimes the filter did not work as expected.

In the test case, the first console.log returns 2 as expected.
The second console.log returns 0 which expected to be 1.

Link to test case

http://jsfiddle.net/Lqv9yjn3/1/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions