Injecting SVG With JavaScript Dec 31, 2015 "Injecting SVG" - it sounds kinda complicated I know, but trust me it's not. It's actually super-simple! Right now you're probably thinking "Why would you use JavaScript to inject SVG markup? What is it? And how does it work?" Let me explain. view source Advertisement