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)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…