title: jquery causes asp.net button to not click
body: <p>I can't get the OnClick method for the button to fire</p>
  
  <p>The button:</p>
  
  <pre><code>&lt;asp:Button ID="postButton" runat="server" 
     Text="Create Thread" OnClick="postButton_Click" /&gt;
  </code></pre>
  
  <p><strong>EDIT: postButton_Click is a code behind(server side) C#</strong></p>
  
  <p>After a bit of trial and error i found out that the button does fire when the following line is removed:</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"  
     type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The scripts are loaded in this order:</p>
  
  <pre><code>&lt;link href="../ajax/jquery-ui-1.8.2.custom.css" 
     rel="stylesheet" type="text/css" /&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" 
     type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../ajax/jquery-ui-1.8.2.custom.min.js" 
     type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Changing the jQuery version does not help.</p>
  
  <p>I have the exact same code on another page and it works fine. why does it happen and how can I fix it?</p>
  
  <p><strong>EDIT: Codebehind (breakpoints set in this method fail to trigger)</strong></p>
  
  <pre><code>protected void postButton_Click(object sender, EventArgs e)
  {
      Response.Redirect("test.aspx");
  }
  </code></pre>