Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#14734 closed feature (worksforme)

Introduce $(con).$(sel) for context based queries instead of $(sel, con)

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.1.0
Keywords: Cc:
Blocked by: Blocking:


$(selector, context) is not really intuitive. $(context).$(selector) would be much more, jQuery is all about chainging.


jQuery(context).jQuery(selector) can be supported as well.

Note: jQuery.fn.jquery is in use (lowercase Q), but there is no case-sensitive conflict. Most people use $() anyway.

Best, Tibor Halter

Change History (2)

comment:1 Changed 9 years ago by scottgonzalez

Resolution: worksforme
Status: newclosed

You're looking for .find().

comment:2 in reply to:  1 Changed 9 years ago by [email protected]

Replying to scott.gonzalez:

You're looking for .find().

Many people don't know about it. Additionally, $().$() would lessen what one needs to learn, thus reducing complexity.

Note: See TracTickets for help on using tickets.