title: Reload image without refreshing the page
body: <p>Javascript:</p>
  
  <pre><code>function atualiza() {
    document.getElementById('badge').innerHTML = location.reload();
  }
  </code></pre>
  
  <p>I know the "location.reload()" will refresh the page...</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;img id="badge" src="&lt;?php echo $cms_url; ?&gt;/imaging/badge.php?badge=$mygroup['badge']; ?&gt;" /&gt;
  </code></pre>
  
  <p>I need to freshed the <code>src=""</code> or <code>&lt;img /&gt;</code> without refreshing the page.</p>