On 10/26/06, Dave Methvin <[EMAIL PROTECTED]> wrote:
> Is there any supported jQuery platform or situation where
> context.getElementsByTagName('*') does not get all the elements in the
> context? Right now the jQuery selector code avoids using it and instead does
> a recursive crawl of the tree, which has to be a lot more expensive. I know
> it wasn't there in IE5, but I think we've given up on IE5 support.
IE5 provides the `all` collection for every element (IIRC), which is
(again IIRC) equivalent to `getElementsByTagName("*")`.
So if support for IE5 is required, it'd be a good alternative.
--
Choan
<http://choangalvez.nom.es/>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/