title: Dynamic uploaded image not shown in html
body: <p>I have an application where I upload images dynamically and show them in the same page via the given script.</p>
  
  <p><strong>JS</strong></p>
  
  <pre><code>document.getElementById("picture").innerHTML = "&lt;img src='absolute_server_url'/&gt;";
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div id="picture"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The problem is my image uploads successfully but the updated image is not shown in the html page.</p>
  
  <blockquote>
    <p>Image name also remains same. I mean when I upload a new image I name that image same as the previous one. May be this will create a problem.</p>
  </blockquote>
  
  <p>.</p>