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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -