Bug Tracker

Opened 10 years ago

Closed 9 years ago

#4997 closed enhancement (invalid)

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

Change History (1)

comment:1 Changed 9 years ago by dmethvin

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.

Note: See TracTickets for help on using tickets.