title: How to stop ASP.NET from changing IDs in order to use jQuery
body: <p>I have this label control in my web page</p>
  
  <pre><code>&lt;asp:Label ID="Label1" runat="server" Text="test"&gt;&lt;/asp:Label&gt;
  </code></pre>
  
  <p>And when the page rendered the id of the control changes to something like this</p>
  
  <pre><code>  &lt;span id="ctl00_ContentPlaceHolder1_Label3"&gt;test&lt;/span&gt;
  </code></pre>
  
  <p>How can I stop asp.net from changing IDs in order to perform a jQuery operation like this</p>
  
  <pre><code>$('#label1').html(xml);
  </code></pre>