title: How to swap an image on click
body: <p>How can I pass the value after <code>onClick</code> event in JavaScript where that particular value is checked in another function? This is a html page in a webview in an iphone application. </p>
  
  <p>Actually, I want to change the image of a button after clicking on that image, with a different value. </p>