title: Copy SVG/HTML content from external file using JS without Ajax?
body: <p>I would like to use JS to open an SVG file, copy the svg, then paste the svg into the the DOM I'm working with. Is this possible without using Ajax? </p>
  
  <p>I have tried using the svg as an object, but ultimately I want to be able to wrap the svg in an a tag, which I am unable to do with an object:</p>
  
  <pre><code>document.getElementById(myElement).innerHTML='&lt;object data="/svg_location.svg" type="image/svg+xml"&gt;&lt;/object&gt;')
  </code></pre>
  
  <p>html</p>
  
  <pre><code> &lt;a href='#'&gt;
         &lt;div id="myElement"&gt;
           [object--not linkable]
         &lt;/div&gt;
      &lt;/a&gt;
  </code></pre>