js how to change image src code example
Example: javascript change image src
//change image src
document.getElementById('myImageID').src="images/my_other_image.png";
//change image src
document.getElementById('myImageID').src="images/my_other_image.png";