Skip to main content

Bug Tracker

Side navigation

#6966 closed enhancement (duplicate)

Opened August 30, 2010 12:27AM UTC

Closed March 21, 2011 07:54PM UTC

Last modified March 21, 2011 07:54PM UTC

.andSelf(selector)

Reported by: dmethvin Owned by:
Priority: low Milestone:
Component: traversing Version: 1.4.2
Keywords: needsreview Cc:
Blocked by: Blocking:
Description

Comment on api.jquery.com from Nick Craver:

What are the chances of giving this the ability to take a selector? When any descendant or current elements that match the current selector, there's not a quick way to do this, currently it's .find(selector).andSelf().filter(selector) or some combination, would be nice if .andSelf() was able to take a selector already, doing the filter internally.
Attachments (0)
Change History (4)

Changed October 15, 2010 04:09AM UTC by snover comment:1

keywords: → needsreview
priority: → low

Smells like bikeshed/feature creep. Marking for review.

Changed November 12, 2010 02:40AM UTC by snover comment:2

milestone: 1.4.3

Resetting milestone to future.

Changed March 21, 2011 07:54PM UTC by addyosmani comment:3

resolution: → duplicate
status: newclosed

Changed March 21, 2011 07:54PM UTC by addyosmani comment:4

Duplicate of #4446.