Hello,
I have tried to load the following script element dynamically to the SVG document using DOM.
var e = document.createElement(“script”)
e.setAttribute(“type”, “text/javascript”) e.setAttributeNS(“XLink namespace”;, “xlink:href”,“prueba.js”) document.documentElement.appendChild(e)
And i found that the script file not loaded when i make a method call.
Does anybody have any solution?