> Not to mention it would either be broken, or be a complete hack. > > $(selector, context); is actually an alias for > $(context).find(selector); And this.context isn't what was passed to > context. >
I remember the case of $(DOMElement, DOMElement) being discussed recently as an alias for $(DOMElement).has(DOMElement) (which just landed in trunk). We could actually add this in and gain the ability to make the above .closest() context change, as well. Win-win! --John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---