document.getElementById("ImageID").src="image-name-dot-something"; document.getElementById("ImageID").src.reload();