Javascript Confirm and passing value back to server side
<p>I have the following command to delete button.</p>

<pre><code>DeleteButton.Attributes.Add("Onclick", "javascript:return confirm(Are you sure?" + ");");
</code></pre>

<p>I want to know what the user has clicked(Ok/Cancel) on the server side to continue with delete.</p>

<p>How can this be achieved? code snippet or example would be great.</p>
