Modify ↓
Ticket #279 (closed: invalid)
Ben
| Reported by: | Fil | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | ||
| Component: | Version: | ||
| Keywords: | SPAM | Cc: | |
| Blocking: | Blocked by: |
Description (last modified by dmethvin) (diff)
If I do
$("a").filter(".x,.y.z")
I don't get the correct selection.
I would have expected to get the same as $("a.x").add("a.y").add("a.z")
PS: version 1.0.2
Change History
comment:2 Changed 7 years ago by john
- Type changed from bug to enhancement
This is already implemented in jQuery, just differently. You can do: $("a").filter([".x", ".y", ".z"]) and it will work as expected.
Having it also work with commas ',' would be nice, but its certainly not a bug.
comment:3 Changed 7 years ago by Ben
- Cc Ben added; {empty} removed
- Component set to 1
- Summary changed from {empty} to Ben
- Priority set to 1
- Version set to 1
- Milestone set to 1
- Keywords Ben added; {empty} removed
- Type set to 1
comment:5 Changed 4 years ago by dmethvin
- Keywords SPAM added; Ben removed
- Priority changed from 1 to trivial
- Status changed from new to closed
- Component changed from 1 to unfilled
- Resolution set to invalid
SPAM
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Sorry I typed the bug report wrong (shame!)
The code should have said: $("a").filter(".x,.y,.z")
The bug stands.