How to get value of data send by post method in asp.net
<p>I have a .aspx page which contains form. I am setting another page at the action event of the form. Now I want to send data from one aspx form to another aspx form via post method. How can I access those data on second form??? I am sending data through JQuery.</p>

<pre><code>&lt;script language="javascript" type="text/javascript" &gt;
    //debugger;
    // $(document).ready(function() {
    //   alert('hello there');
    //});
    function test() {

        $("#test").load("test.aspx").toggle();
        // alert($("#frm").serialize());
        // var txt = '&lt;%= Hidden1 %&gt;';
        var txt = document.getElementById('&lt;%= Hidden1.ClientID %&gt;').value;
        alert(txt);
        //  return false;
        $.post("test.aspx", document.getElementById("&lt;%= frm.ClientID %&gt;").serialize,  function(data) {
            alert(data);
        });
            /*$.post("test.aspx",
            {
                name: txt
            },
            function(data) {
                alert(data);
            });*/
        return false;
    }
 &lt;/script&gt;
</code></pre>
