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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -