how to change source of an image java script 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";