title: Embedding an uploaded svg using jQuery
body: <p>I am uploading an svg using jQuery and file tag:</p>
  
  <p>HTML:</p>
  
  <pre><code> &lt;input type='file' /&gt;
   &lt;img id="myImg" src="#" alt="your image" /&gt;
  </code></pre>
  
  <p>jQuery:</p>
  
  <pre><code> $(function () {
  $(":file").change(function () {
      if (this.files &amp;&amp; this.files[0]) {
          var reader = new FileReader();
          reader.onload = imageIsLoaded;
          reader.readAsDataURL(this.files[0]);
      }
  });
  });
  
           function imageIsLoaded(e) {
               $('#myImg').attr('src', e.target.result);
    };
  </code></pre>
  
  <p>SVG is uploading fine and showing on image tag. Problem is, I need to embed svg into html not only show it as image.Any idea how to get svg code and embed it on html?</p>