redirect to a new page with post data in Javascript
- by Mick
Hi , I have a html form with the data by this post method
'form id='form1' name='form1' method='post' action='process.php'etc '
to a php page for processing into a mysql database . When the user has filled in the form BEFORE submitting it I have a button that the user can click to open up a new page to display a pdf of the data entered. The new pdf file is generated fine but what I need in it is the post data from the form.
In the pdf page I can use POST to get the detail. What I need is a method of sending the data from the form to this new page without using the form tag above as it is needed for the processing of the form.
What I am looking for is a js method to redirect to a new page with the post data intact
Can anybody help please ? , any help is much appreciated ! Mick