Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retreiving Form (POST) Values!

Status
Not open for further replies.

FOR111

Programmer
Sep 29, 2005
103
MT
Hi All,

I have a page which submits data through a form using the method 'post', once the user submits it redirects to another page. The new page should read the data (from the form tag) and display the information.

The latter function seems abit daunting..can anyone give me a helping hand on this. I used to do it through the method 'get' and retrieve the information using javascript's querystring but it doesn't seem to work with the method 'post'.

Thanks for any help provided

Regards
Nick
 
Yes i totally agree with u..since i used to work woth querystring when working with the method 'post';

What i would like to achieve is:

1. Page 1 submits form (with method post); having 2 text parameters.

2. Page 2 reads those params and displays them;

As regards to code i have none since i had to change everything. Method 'get' used to be easy since i had only to read the URL string and parse it..though Method 'Post' i have no idea on where to retrieve them!

Thanks
Nick
 
no. only ways to pass data from page to page (and read it) with javascript is with GET, querystrings, and cookies. maybe some file writing too but that gets into activex.



*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top