Hi

I am trying to add the following event attribute on a circle , but when the HTML is produced the single quotation mark changes to ' .

tried the following code

svgEllipse.setAttributeNS(null, "onclick" , "showDialog('onmouseout')" );

and

svgEllipse.setAttributeNS(null, "onclick" , "showDialog(\'onmouseout\')" );

BUT when I view it in the browser I see it as

http://xml.apache.org/batik/scripting.html#howToUseScripting">http://xml.apache.org/batik/scripting.html#howToUseScripting

Thanks

Reply via email to