jojoba
07-02-2004, 07:39 AM
Hello i've got some problems with the integration of svg in a html page. I've learnt that i had to use a "<object>" or a "<embed>" tag to do it. That works fine, but I would like to use a "onChange" attribute to launch a javascript when the user clicks on the svg drawing. I tried to put the onChange attribute on both of the <object> and <embed> tag but the mouse click is never detected. Why? How can I make my svg clickable without writing into its code.
Thanks
Thanks