W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2004

Re: getElementsBySelector()

From: Daniel Glazman <danielglazman@easyconnect.fr>
Date: Sat, 28 Aug 2004 21:04:57 +0200
Message-ID: <4130D759.6070902@easyconnect.fr>
To: Anne van Kesteren <fora@annevankesteren.nl>
CC: W3C CSS List <www-style@w3.org>, www-dom@w3.org

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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC