How to remember form values across different pages?
<p>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?</p>

<p>I have the code that transfers form values to the next page. How can I send the same form values to the third page?</p>

<pre><code>&lt;script type="text/javascript" src="jquery-1.2.6.min.js"&gt;&lt;/script&gt;

 &lt;script type="text/javascript"&gt;                                         
   // 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 = '&lt;div class="notification_ok"&gt;Your message has been sent. Thank you!&lt;/div&gt;';
window.location.href = "http://www.google.com";
$("#fields").hide();
}
else
{
result = msg;
}

$(this).html(result);

});

}

 });

return false;

});

});

 &lt;/script&gt;  
</code></pre>
