title: jquery dialog with ok and cancel button
body: <p>in jquery dialog i am only allowed just a single button within a dialog. i want two separate button in this dialog </p>
  
  <p><strong>Script</strong></p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
                   $("[id*=btnclosejob]").live("click", function() {
                       $("#dialog").dialog({
                           title: "Job Close?",
                           buttons: {
                               Close: function() {
                                   $(this).dialog('close');
                               }
  
                           }
                       });
                       return false;
                   });
              &lt;/script&gt;
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;asp:Button ID="btnclosejob" runat="server" Text="Close Job"  /&gt;
  
        &lt;div id="dialog" style="display: none"&gt;
              Are You Sure You Want to Close this job
        &lt;/div&gt;
  </code></pre>
  
  <p><code>Result</code> (with just single button "Close" but i want two separate button 1st for Action and 2nd for close the dailog)</p>
  
  <p><img src="https://i.stack.imgur.com/1Nf78.jpg" alt="enter image description here"></p>
  
  <p>when i click ok button it should redirect to other page</p>