title: retrieve ID of server control using jQuery
body: <p>How do I get the ID of a server control with jQuery?</p>
  
  <p>E.g. I have </p>
  
  <p><code>&lt;asp:Label ID="label1" runat="server""&gt;&lt;/asp:Label&gt;</code></p>
  
  <p>and now I want to get "label1",</p>
  
  <pre><code>var id = ??
  </code></pre>