How to remember form values across different pages?

Obscurity

New Member
I need to send form values from one page to another and from that page to a third page. I would need the form values from the first page in the third page. How can I do it?I have the code that transfers form values to the next page. How can I send the same form values to the third page?\[code\]<script type="text/javascript" src="http://stackoverflow.com/questions/3797903/jquery-1.2.6.min.js"></script> <script type="text/javascript"> // we will add our javascript code here $(document).ready(function(){$("#ajax-contact-form").submit(function(){var str = $(this).serialize(); $.ajax({ type: "POST", url: "contact.php", data: str, success: function(msg){$("#note").ajaxComplete(function(event, request, settings){if(msg == 'OK') // Message Sent? Show the 'Thank You' message and hide the form{result = '<div class="notification_ok">Your message has been sent. Thank you!</div>';window.location.href = "http://www.google.com";$("#fields").hide();}else{result = msg;}$(this).html(result);});} });return false;});}); </script> \[/code\]
 
Back
Top