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