javascript change image src
//change image src
document.getElementById('myImageID').src="images/my_other_image.png";
img tag
<img src="the source image's url" alt="the image's description">
how to edit image tags in javascript
<a href='#' onclick='edit()'><img src="../template/edit.png" id="edit-save"/></a>