It's as if when the id selector is passed then the $ method just uses a document.getElementById.
Well IDs are supposed to be unique throughout the entire document (i.e. there can be one and only one element in the entire document with an ID of "myId"), so why shouldn't it simply use document.getElementById?
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/