P
Prasanna
Hi All
document.createElementNS works fine on firefox, but not on IE.
I use this fuction to create SVG objects on the fly
for example.....
SVG.ns = "http://www.w3.org/2000/svg";
var svg = document.createElementNS(SVG.ns, "svg:svg");
Some of the forums suggested to use document.createElement insteaad of
document.createElementNS on IE......
But I want to create an elemnt from the name space which is present in
"http://www.w3.org/2000/svg"
how do i do that in IE.
somthing like document.createElement("svg:svg");
doesnt satisfy the requirement, since the browser downt understand
what is "svg:svg" unless a valied namespace is specified.
Thanks
Prasanna
document.createElementNS works fine on firefox, but not on IE.
I use this fuction to create SVG objects on the fly
for example.....
SVG.ns = "http://www.w3.org/2000/svg";
var svg = document.createElementNS(SVG.ns, "svg:svg");
Some of the forums suggested to use document.createElement insteaad of
document.createElementNS on IE......
But I want to create an elemnt from the name space which is present in
"http://www.w3.org/2000/svg"
how do i do that in IE.
somthing like document.createElement("svg:svg");
doesnt satisfy the requirement, since the browser downt understand
what is "svg:svg" unless a valied namespace is specified.
Thanks
Prasanna