Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
jQuery function filter with attribute name contains square bracket is not working #4170
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.
Link to test case
I know we've seen these reports before but I'm too lazy to look it up in closed issues. The CSS spec says:
Identifiers don't have