On 12/12/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:

I think it's even worse. It has to go through all the divs and check the
id...
document.getElementById cannot be used for such a list returned by
document.getElementsByTagName("div").


Yeesh!

NOTE TO ALL:

div#myid = SLOW!!

#myid = FAST!!

.myclass = SLOW!!

div.myclass = FAST(er)!!

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to