title: cannot access asp.net server side control from jquery
body: <p>cannot access asp.net server side control from jquery</p>
  
  <p>Label</p>
  
  <pre><code>&lt;label id="lblClanName" runat="server"&gt;Something here&lt;/label&gt;
  </code></pre>
  
  <p>Jquery</p>
  
  <pre><code>  $('#test').click(function () {
          var yle = ('#"&lt;%= lblClanName.ClientID %&gt;"').val;
          alert(yle);
      });
  </code></pre>
  
  <p>button:</p>
  
  <pre><code>&lt;input type="button" id="test" value="TesTme" /&gt;
  </code></pre>
  
  <p>alert returns undefined</p>