Skip to main content

Bug Tracker

Side navigation

#4997 closed enhancement (invalid)

Opened July 31, 2009 10:39PM UTC

Closed November 18, 2010 03:15AM UTC

apply selector to context as well as descendants

Reported by: jablko Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

http://groups.google.com/group/jquery-dev/browse_thread/thread/2778a225b1f261fa/2cd713b8a3eba2f7

unless there's a good reason not to - for example performance, or it would be illogical in some cases - i wish $('selector', context) would apply selector to the context element as well as its descendants

Attachments (0)
Change History (1)

Changed November 18, 2010 03:15AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Just that it would break all the jQuery code written up to this point. There is a proposal for a .filterFind() method that might do something like you are suggesting.