Re: getElementsBySelector()

Anne van Kesteren wrote:

> #   document.getElementsBySelector('div#main p a.external')
> #
> # This will return an array containing all of the links that have
> # 'external' in their class attribute and are contained inside a
> # paragraph which is itself contained inside a div with its id
> # attribute set to 'main'.

Yes. I think it is highly time to have that as a standardized API.
All our visual CSS-conformant browsers already have the implem for it,
a lot of web sites, using Simon's js workaround or another script equivalent,
and it could be _really_ useful to web authors.

</Daniel>

Received on Saturday, 28 August 2004 19:05:01 UTC