Re: Append OnClick-Script to MathML-Tags
Frédéric Wang <[email protected]> Mon, 20 Sep 2010 08:55:10 +0200
| Newsgroups | gmane.comp.mozilla.devel.mathml |
|---|---|
| Message-ID | <[email protected]> |
Le 20/09/2010 08:26, Tim Specht a écrit : > Hej guys, > > I need to be notified when the user clicks an element of my MathML- > Rendering and I also need to know which it was. So it is possible to > attach an onclick-script to MathML-Tags? Or is there at least > something similar I could use? > Thanks in advance, > Tim Specht Hej Tim, I guess you will be able to do that using DOM Level 2 Event Model: http://www.w3.org/TR/DOM-Level-2-Events/events.html https://developer.mozilla.org/en/DOM/element.addEventListener Frédéric Wang