Give your img tag an id, then you can
document.getElementById("imageid").src="https://stackoverflow.com/questions/11722400/template/save.png";
Give your img tag an id, then you can
document.getElementById("imageid").src="https://stackoverflow.com/questions/11722400/template/save.png";