Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP
I am using post method of ajax in asp
and want to retrieve value in back page but getting error
 
<pre lang="cs">var newArray = myArray.join(&quot;!-@-$_&quot;);
        xmlhttp.open(&quot;POST&quot;, &quot;Ajaxasp.asp&quot;, true);
        xmlhttp.setRequestHeader(&quot;Content-type&quot;, &quot;application/x-www-form-urlencoded&quot;);
        xmlhttp.send(&quot;newArray=&quot; + newArray);</pre>
how to retrieve data from newArray in backside page
 
surabhi
Posted 1-Jul-12 20:06pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Check for it in Request.Forms collection.
 
Try:
Request.Form("newArray")
Refer:
MSDN: Request.Form Collection[^]
Request.Form[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 2 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100