[whatwg] getElementsByClassName() idea

Lachlan Hunt wrote:
> Anne van Kesteren wrote:
>> This allows things like ele.getElementsByClassName(ele.className) etc.
> 
> anything that accepts a DOMString will automatically accept a DOMTokenString, 
> including getElementsByClassName.  So your example will already work.

It seems getElementsByClassName has been changed to accept an array, not 
a DOMString and I didn't realise.

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Sunday, 5 November 2006 03:09:02 UTC