How to get value of data send by post method in asp.net -


i have .aspx page contains form. setting page @ action event of form. want send data 1 aspx form aspx form via post method. how can access data on second form??? sending data through jquery.

<script language="javascript" type="text/javascript" >     //debugger;     // $(document).ready(function() {     //   alert('hello there');     //});     function test() {          $("#test").load("test.aspx").toggle();         // alert($("#frm").serialize());         // var txt = '<%= hidden1 %>';         var txt = document.getelementbyid('<%= hidden1.clientid %>').value;         alert(txt);         //  return false;         $.post("test.aspx", document.getelementbyid("<%= frm.clientid %>").serialize,  function(data) {             alert(data);         });             /*$.post("test.aspx",             {                 name: txt             },             function(data) {                 alert(data);             });*/         return false;     }  </script> 

use : request.form["username"]

where "username" names of controls on posting page.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -