> That can't be true, right? It doesn't "search the whole doc".
Correct, it only searches the limited sub-set. > The "context" property may be "document" but ".myClass" is only > searched for within "#myContainer", right? (this is how I see it, > after looking at the source) > > I think the main reason people (including me) are confused is because > the "context" property does not correspond with the "context" > parameter. I'm not too bothered about it but it seems to be causing > confusion elsewhere. Correct - regardless of what's passed in as the context argument, it must be translated into a single DOM node, which will act as the root against queries will be executed. This node is what is stored in .context. --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 -~----------~----~----~----~------~----~------~--~---