[whatwg] getElementsByClassName()

Jim Ley jim.ley at gmail.com
Fri Feb 3 08:37:47 PST 2006

On 2/3/06, Michel Fortin <michel.fortin at michelf.com> wrote:
> Le 2006-02-03 à 09:30, Jim Ley a écrit :
> So to generalize the use case, when I want to attach an event to a
> child element or an element linked by any other mean to the element
> having that class, I can't use addEventListenerToClass.

So this shows that addEventListenerToCSSSelector is really what you
want so you can attach it to A's that are children of the class
doesn't it?


More information about the whatwg mailing list