How to handle click event in jquery for a button?
<p>I have a grid view in which I have a button feild for deleting that particular row in the grid view, using the GridView_RowDeleting() event.</p>

<p>So when that particular row gets renders it's such</p>

<pre><code>&lt;input type="button" value="Delete" onclick="javascript:__doPostBack('ctl00$ContentPlaceHolderBodyMasterPage$grdvwUsers','Delete$0')" class="delete" /&gt;
</code></pre>

<p>The delete functionality works fine.</p>

<p>But I want to show a confirmation message on this button click whether to delete the user or not.
For that I have added query code for that to display the confirmation message, but thats not working , don't know why,</p>

<pre><code>            $(".delete").click(function(e) {
              // code for displaying the confirmation dialog
            });
</code></pre>

<p>Please help me out, thanks !</p>
