[whatwg] getElementsByClassName()

James Graham jg307 at cam.ac.uk
Mon Oct 23 02:49:37 PDT 2006


Dean Edwards wrote:
> The point is that there is room for all of these methods for
> retrieving DOM nodes. As there is no useful existing standard let's
> add stuff that people actually want instead of referring them to
> vapour ware.

I guess the question is "why bother with getElementByClassName if a full 
getElementByCSSSelector-type method is available"?. Possible answers would 
include speed and ease of use but I'm not sure either applies here.

-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead



More information about the whatwg mailing list