title: jquery button trigger server side onclick event
body: <p>I am using a jquery dialog, when user click ok, the server side onclick event should be fired, if click cancel, nothing happened. </p>
  
  <p>i have to prevent the click function at the beginning by preventDefault() function. </p>
  
  <pre><code>  $(document).ready(function () {
           $("#&lt;%=submit.ClientID %&gt;").click(function (event) {
               event.preventDefault();
                  $("#confirm").dialog({
                      buttons: {
                          "OK": function () {  $(this).dialog("close"); 
                                Here should be the code to trigger the server side click event
  
  
                       },
                          "Cancel": function () { $(this).dialog("close");},
                      } 
                  });
           });
       });
  </code></pre>
  
  <p>I don't know how to trigger a server side onclick event. any ideas? thanks</p>