Dynamically inserting SVG in JavaScript
If you don't get the alert means you get the error before the alert. Put an alert before and after document.getElementById('svgdoc').innerHTML. Also try it before and after
var dupsvg=document.barChart.getSVGDocument(); Quote: |
Originally Posted by Kavitha I have checked with alert(dupsvg)
But the alert is not getting displayed
When i load the html page the js error as "Object doesnot support this property or method " is showing. |
__________________
rogramming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
|