I need to send form values from one page to another and from that page to the third page. I am the first of the third page Form prices from the page will be required How can I do this?
I have a code that transfers the form's page to the next page. How can I send the same form price to the third page?
& lt; Script type = "text / javascript" src = "jquery-1.2.6.min.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; // We will put 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 (events, requests, settings) { If message (message == 'OK') // Message has been sent? Show 'thank you' message and hide form {result = '& lt; div class = "notification_ok"> Your message has been sent. Thanks! & Lt; / Div & gt; '; window.location.href = "http://www.google.com"; $ ("# Fields" "). Hide ();} else {result = msg}};} $ (this). Html (result));}}); Description false;});}); & Lt; / Script & gt;
You use GET
window.location.href = "http: // yourdomamin? Value = serialize text variable";
Comments
Post a Comment