title: How to record a click event for an image acting as a button in Selenium?
body: <p>In my application, I have got an image as a button. When I record the button click event in Selenium IDE and replay it, i merely plays it back but the click event is not actually submitting the value</p>
  
  <p>Ex: The submit button (which is an image) should actually submit the value to database. But when I check in the database, the value is not added there</p>
  
  <p><em><strong>Element Value</em></strong></p>
  
  <pre><code>&lt;input width="98" vspace="3" type="Image" height="15" border="0" 
  id="Image1" src="images/butt_submit.gif" value="Submit" name="Submit"&gt;
  </code></pre>
  
  <p><em><strong>Selenium Code</em></strong></p>
  
  <pre><code>selenium.click("//input[@id='Image1']");
  selenium.waitForPageToLoad("30000");
  </code></pre>
  
  <p>Please assist. </p>
  
  <p>Thanking you!</p>
  
  <p>HG</p>