on click change logo code example Example: how to change image on mouse click in javascript <img src="imageName1.jpg" onmouseover="imagefun()" id="getImage">