0

我用 javascript 创建了 svg 元素,它在 chrome、firefox 和 ie9 中运行良好,但在 ie8 中无法运行。这是我的代码。ie8有什么替代方法吗?

var svgns = "http://www.w3.org/2000/svg";
    var rect = document.createElementNS(svgns, 'rect');
4

1 回答 1

2

这可能会帮助你。ie 8 https://github.com/shawnbot/aight支持你想要的 int

于 2013-05-30T19:18:00.407 回答