Re: document[id] and document.id to <element id="id"> matching

On Tue, 07 Apr 2009 00:17:10 +0200, Michael A. Puls II  
<shadow2531@gmail.com> wrote:
> Is that what you mean?

The order is not relevant, the amount of elements returned is. If  
document[name] matches a single element that happens to be an <iframe>  
then you'd return the global object the <iframe> holds. Otherwise you just  
return the HTMLCollection of the matched elements.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 6 April 2009 22:25:47 UTC