Hi all,

With the tests I ran (http://fmarcia.info/jquery/speedtest.html [1]),
the quickest way to retrieve one element is
$(document.getElementById(id)), even better than $('#id')!

Off course, to get even better performance, one should cache queries
every time it's possible!

My 2 cents,

Franck.

[1] caution: buttons "div div strong" and "div > div > strong" are very slow

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to