<script type = "text/javascript">
function functionCall(){
...
}
</script>
<input type="image" src="uri1.png" onclick="this.src='uri2.png'"/>
this works for changing the image for onclick event
<input type="image" src="uri1.png" onclick="functionCall"/>
this works for calling a function
how do i make both function call and image change to occur for same onclick.