title: ok-cancel button in prompt in asp.net
body: <p>How to handle ok-cancel button in prompt in asp.net?I want to when click on cancel,I can do a new job?
  this is my code:</p>
  
  <pre><code> &lt;asp:Button ID="Button1" runat="server" OnClientClick="return a();"  Text="Button" /&gt;
  
  function  a()
  {
      var s = prompt("hello");
      if (s != 123) {
          alert("enter number correctly");
          return true;
      }
      else
          return false;
  }
  </code></pre>