pass image src to javascript function in input image button code example
Example: set img src using javascript
document.getElementById("imageid").src="../template/save.png";
document.getElementById("imageid").src="../template/save.png";