I have looked all over this site and the internet and I cant seem to find a way that I understand to add an svg to the dom using javascript. Can anyone help me please? The svg I
You can work with SVG elements like with a simple DOM structure.
For example, you can edit it using .html() jQuery function:
.html()
$("#mySvgContainer").html("");
Also, you can dynamically create DOM SVG element and append it like you do it with HTML elements.