title: asp button click not firing on jquery modal dialog
body: <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;asp:Button ID="btnShowPopup" runat="server" Text="Show popup" /&gt;
      &lt;div id="dialog" style="display: none"&gt;
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /&gt;
                  &lt;/td&gt;
              &lt;/tr&gt; 
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:Label ID="Label1" runat="server"&gt;&lt;/asp:Label&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;script type="text/javascript"&gt;
      $(function () {
          $("[id*=btnShowPopup]").click(function () {
              ShowPopup();
              return false;
          });
      });
  
      function ShowPopup() {
          $("#dialog").dialog({
              title: "Test",
              width: 500,
              buttons: {
                  Close: function () {
                      $(this).dialog('close');
                  }
              },
              modal: true
          });
       }
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  
   I'm trying to pass the textbox1 value to label1 on my button1 click event.But unfortunately asp button click events not firing on modal dialog.Give me a solution to correct it in a right way.</p>