How to send multiple data with javascript in ajax and redirect it to a welcome page
<p>How to send multiple data with java script in ajax and redirect it to a welcome page
like if i have a function..
script.js</p>

<pre><code>function senddata()
{
//ajax code here 
}
</code></pre>

<p>action.php</p>

<pre><code>echo $_POST['username'];
</code></pre>

<p>//after successfully meats the value from my database, then it should be redirect to my welcome.php, it is not make possible.
Please help me out in the same,</p>