title: Get var in jQuery(aspx) from (aspx.cs)
body: <p>I have this function on aspx(html)</p>
  
  <pre><code>&lt;body onload="NewPage2()"&gt;
  &lt;script type="text/javascript"&gt;
      function NewPage2() {
              var url = getUrlVars(url);
              document.getElementById("HiddenField1").Value = url["access_token"];
          }
  &lt;/script&gt;
      &lt;div class = content&gt;
          &lt;form id="form1" runat="server"&gt;
           &lt;asp:HiddenField id="HiddenField1" runat="server" Value=""/&gt;
           &lt;/form&gt;
          CODE1: &lt;asp:Label ID="Label1" runat="server" Text="Label" ForeColor="#CC0000" /&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>how can I get the var(on jquery(html)) to my variableURL2 in aspx.cs?</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
      string code = HiddenField1.Value;
  
      Label1.Text = code;
  
      saveToken(token, code);
  }
  </code></pre>