W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2003

DOM getElementsByAttribute

From: dilvie <dilvie@dilvie.com>
Date: Mon, 3 Mar 2003 07:45:45 -0500 (EST)
Message-ID: <3E634EAA.8010908@dilvie.com>
To: www-dom@w3.org

I frequently encounter circumstances where it would be convenient to 
have a getElementsByAttribute method.

getElementsByAttribute(attribute, value)
would return a (possibly empty) list of elements with the attribute 
matching value.

I get several questions per day from DHTML developers wishing they could 
do this.  Is there a good alternative in this DOM draft?

dilvie's websites:
http://www.minutejs.com/ - generate custom javascript
http://www.minutejs.com/forum/ - DHTML discussions
http://www.dilvie.com - listen to my original music
Received on Monday, 24 March 2003 17:06:45 UTC

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