how to submit form from jQuery and navigate to the page?
<p>I have two php pages. Page 1 contains one form which i submitted with jQuery. Page 2 is form query page. I want to read all the data from Page 2 after submitting from page 1 through navigation. My following code does not work as I expected.</p>

<p>Page 1:</p>

<pre><code>$.ajax({
type: "POST",
url: "requestProcessor.php",
data: "fname="+ fname +"&amp;amp; lname="+ lname,
success: function(){

window.location.href = "requestProcessor.php";

}
}); 
</code></pre>

<p>Page 2: requestProcessor.php</p>

<pre><code>&lt;?php
require("db/phpsql_info.php");

echo htmlspecialchars(trim($_POST['fname']));
echo htmlspecialchars(trim($_POST['lname']));
?&gt;
</code></pre>

<p>Thanks in advance..</p>
