yea already been testing the methods and going from div.[name] to
#[name] took my script from 70s to 16s.   i also tested using the
document.getElementById('[name]') and there was no difference between
that and using #.

no more div.[name] for me....

On Jun 27, 1:57 pm, "Diego A." <[EMAIL PROTECTED]> wrote:
> I'm not sure, but I'm guessing there will be some sort of performance
> difference. I'm guessing '#id' is faster than 'div#id' if '#id' just
> uses getElementById, whereas 'div#id' might finds all divs then filter
> by id.
>
> On Jun 27, 5:46 pm, Terry B <[EMAIL PROTECTED]> wrote:
>
>
>
> > what is the difference between
> >     $t("div.TimelineContainer")
> > and
> >     $t("#TimelineContainer")
>
> > within JQuery?  is the first using byid and the other by tagname?- Hide 
> > quoted text -
>
> - Show quoted text -

Reply via email to