The "No" button in the Jconfirm box doesn't function
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/12636881/can-i-add-buttons-to-jquery-alert">Can I add buttons to jQuery &ldquo;alert&rdquo;?</a>  </p>
</blockquote>



<p>When I click OK or Cancel button in the confirmation box, both buttons will delete the data. What I wish to have is when I click OK it will delete, and when I click Cancel it will close the popup and stay at the parent page.</p>

<p>My confirmation box:</p>

<pre><code>    $('#&lt;%=delete.ClientID%&gt;').click(function () {
        var result = confirm('Are you sure?');
    });
</code></pre>
