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