javascript - Embedding an SVG, no show in IE9 -


i trying embed external svg file , have manipulatable in css , jquery. code works in ie10, ff, chrome.

$.get("assets/images/floorplans4.svg", function(svgdata){ //console.log(svgdata);      $("#svgcontainer").append(svgdata.documentelement); }, "xml"); 

in ie9, hierarchyrequesterror.

any thoughts on this? maybe i'm missing in html file make compatible? i'm using html5, thus:

<!doctype html>   <html>   <head> 

etc. in advance.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -