Side navigation
#279 closed (invalid)
Opened October 14, 2006 06:02PM UTC
Closed October 11, 2009 11:34PM UTC
Ben
| Reported by: | Fil | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | ||
| Component: | Version: | ||
| Keywords: | SPAM | Cc: | |
| Blocked by: | Blocking: |
Description
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
Attachments (0)
Change History (7)
Changed October 14, 2006 06:03PM UTC by comment:1
Changed October 15, 2006 03:15AM UTC by comment:2
| type: | bug → 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.
Changed November 07, 2006 10:26PM UTC by comment:3
| cc: | {empty} → Ben |
|---|---|
| component: | → 1 |
| keywords: | {empty} → Ben |
| milestone: | → 1 |
| priority: | → 1 |
| summary: | {empty} → Ben |
| type: | → 1 |
| version: | → 1 |
Changed October 11, 2009 11:34PM UTC by comment:4
| description: | 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 → 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 |
|---|---|
| need: | → Review |
Changed October 11, 2009 11:34PM UTC by comment:5
| component: | 1 → unfilled |
|---|---|
| keywords: | Ben → SPAM |
| priority: | 1 → trivial |
| resolution: | → invalid |
| status: | new → closed |
SPAM
Changed October 24, 2010 09:22PM UTC by comment:6
| component: | unfiled |
|---|---|
| milestone: | 1 |
| priority: | trivial |
| type: | 1 |
| version: | 1 |
Changed October 24, 2010 09:28PM UTC by comment:7
| cc: | Ben |
|---|---|
| owner: | {empty} |
Sorry I typed the bug report wrong (shame!)
The code should have said: $("a").filter(".x,.y,.z")
The bug stands.