on click change image css 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">