I have a canvas tag to create a graphic. At each section of my line, I have a "dot" to enable a 'mouseover' and display more detail.

Everything works fine when I don't add an event listener to this dot.

Firebug is warning me:

s.addEventListener is not a function...

Is it possible to create dynamic event listener? (I'm new to Javascript)

Edit
Report