#14734 closed feature (worksforme)
Introduce $(con).$(sel) for context based queries instead of $(sel, con)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 2.1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$(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 follow-up: 2 Changed 9 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 9 years ago by
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.
You're looking for
.find()
.