title: Make javascript alert Yes/No Instead of Ok/Cancel
body: <pre><code>function btnSelete_Click() {
      var strconfirm = confirm("Are you sure you want to delete?");
      if (strconfirm == true) {
          return true;
      }
  }
  
  &lt;asp:Button ID="btnSelect" runat="server" Text="Select" Onclientclick="return btnSelete_Click();" CssClass="cssbutton" /&gt;
  </code></pre>
  
  <p>How to create a yes/no/cancel alert box instead of ok/cancel alert box in Javascript?</p>