title: jQuery impromptu: Form getting submitted even before Yes or No ic clicked
body: <p>I am using jquery <a href="http://trentrichardson.com/Impromptu/index.php" rel="nofollow noreferrer">Impromptu</a> for submitting one of my forms.
  In the above mentioned URL I am using the Example 2.</p>
  
  <p>Now when i try incorporating the same in my form submission, the form is getting submitted even before i clcik on the yes / no button.</p>
  
  <p>I am using the following line of code for the form submit</p>
  
  <pre><code>&lt;input type="image" name="delete" src="images/delete.png" onclick="$.prompt('Are you sure??',{ buttons: { Ok: true, Cancel: false } })"&gt;
  </code></pre>
  
  <p>I am sure I am missing out on something.
  Can someone please help me?</p>
  
  <p>Thanks,<br >
  Alloi</p>