title: Using JQuery Alert on ASP.Net Runat="server" button
body: <p>I found a JQuery Alert plugin here, <a href="http://www.abeautifulsite.net/blog/2008/12/jquery-alert-dialogs/" rel="nofollow">http://www.abeautifulsite.net/blog/2008/12/jquery-alert-dialogs/</a>
  So I made a sample page to test it out but it does not seem to work on Runat="server" button. The second button is just something I tried to stop the button from posting back and it seems to do that but after confirming, it won't go anywhere.</p>
  
  <p>I would appreciate any help on this.</p>
  
  <pre><code>&lt;script src="js/jquery.alerts.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;link href="css/jquery.alerts.css" rel="stylesheet" type="text/css" media="screen" /&gt;
  &lt;script type="text/javascript"&gt;
      function confirmThis() {
          jConfirm('Can you confirm this?', 'Confirmation Dialog', function (r) {
              jAlert('Confirmed: ' + r, 'Confirmation Results');
              return r;
          });
  
          return false;
      }
      $(document).ready(function () {
          $("#btnNext").click(function () {
              jConfirm('Can you confirm this?', 'Confirmation Dialog', function (r) {
                  jAlert('Confirmed: ' + r, 'Confirmation Results');
                  return r;
              });
          });
      });
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form id="form1" runat="server"&gt;
  &lt;div&gt;
       &lt;asp:Button ID="btnNext" runat="server" Text="Confirm 1"/&gt;
       &lt;asp:Button ID="Button1" runat="server" Text="Confirm 2" OnClientClick="return    confirmThis();"/&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>