sending data from script to .cs page
<p>i am getting values from .cs to script but i want to send data from script to .cs page
i have tried this,but it is not working.</p>

<pre><code> &lt;script type="text/javascript"&gt;
         $(document).ready(function() {
         $("hfServerValue").val("From ClientSide!");
         });
     &lt;/script&gt;

   &lt;asp:HiddenField ID="hfServerValue" runat="server" /&gt;

 protected void Page_Load(object sender, EventArgs e)
    {
       Response.Write(hfServerValue.Value.ToString ());      
    }
</code></pre>
