Skip to main content

Bug Tracker

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 Fil comment:1

Sorry I typed the bug report wrong (shame!)

The code should have said: $("a").filter(".x,.y,.z")

The bug stands.

Changed October 15, 2006 03:15AM UTC by john comment:2

type: bugenhancement

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 Ben 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 dmethvin 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.2If 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 dmethvin comment:5

component: 1unfilled
keywords: BenSPAM
priority: 1trivial
resolution: → invalid
status: newclosed

SPAM

Changed October 24, 2010 09:22PM UTC by snover comment:6

component: unfiled
milestone: 1
priority: trivial
type: 1
version: 1

Changed October 24, 2010 09:28PM UTC by snover comment:7

cc: Ben
owner: {empty}