Bug Tracker

Opened 14 years ago

Closed 12 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:



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 12 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.