getElementById ('foo') => null. What is the expected result? svg.getElementById('foo') => <g id="foo"></g> This works on google-chrome-stable and firefox.
確定! 回上一頁