the first one will find all the "div" elements with a class name of "TimelineContainer".
the second one will any element with an id of "TimelineContainer" -GTG On 6/27/07, 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?