On Wed, Oct 14, 2009 at 3:48 PM, James <james.gp....@gmail.com> wrote:

> Unless your DOM tree is huge and you're trying to select something
> massive in one go, the performance difference between a simple jQuery
> ID selector (e.g. $("#myID")) vs. a native getElementById selector
> should be very negligible, because jQuery uses that same native
> selector.
>

I would restate that a bit:

*Even if* your DOM tree is huge and you're trying to select something
massive in one go, the performance difference between a simple jQuery
ID selector (e.g. $("#myID")) vs. a native getElementById selector
should be very negligible, because jQuery uses that same native
selector.

:-)

Anyway, as you said, if Jennifer would post a link to a test page, or at
least some specific code that seems to be slow, we could take a look at it
and probably speed it up quite a bit.

-Mike

Reply via email to