title: Get the Value of an asp:HiddenField using jQuery
body: <p>I have two pages. From the first page, I open a modal with a querystring that holds that value of a client name. I then use this to set a hiddenfield on the modal that opened.</p>
  
  <p>I need a TextBox on the new modal to display the value that has been sent through from the first screen. </p>
  
  <p>I've tried getting the value using:</p>
  
  <pre><code>var hv = $('hidClientField').val();`
  </code></pre>
  
  <p>But this doesn't seem to work.</p>
  
  <p>This is my hidden field:</p>
  
  <pre><code>&lt;asp:HiddenField ID="hidClientName" runat="server" /&gt;`
  </code></pre>
  
  <p>I set it in the code behind on the Page_Load like this:</p>
  
  <pre><code>hidClientName.Value = Request.QueryString["Client_Name"] ?? "";`
  </code></pre>
  
  <p>Any ideas will be much appreciated.</p>