Element created with createElementNS doesn't show
问题 I'm trying to create a new <img> with the <svg> tag with JavaScript every time I click on the button. When I see the result in the console firebug it works correctly, but nothing on screen displays. What I want is for an image <svg> to appear after the last one every time you click the button. Thanks in advance. var svgNS = "http://www.w3.org/2000/svg"; mybtn.addEventListener("click", createCircleSVG); function createCircleSVG(){ var d = document.createElement('svg'); d.setAttribute('id',