I don't think it does.. If you did $('div#myid') then it would search
through all the div's.. Here's a bit on jquery performance that I read
about..

http://www.artzstudio.com/2009/04/jquery-performance-rules/

Hope that helps...

On May 26, 10:44 pm, jonathan <topcod...@gmail.com> wrote:
> does selectors cache? for example, if I do $('#myid') twice, does it
> search through the document twice for myid?

Reply via email to