jquery popup registration form
<p>I am using the following code for popping up a registration form.</p>

<p><a href="http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/" rel="nofollow">http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/</a></p>

<p>I created a registration form inside the popup box and when i submit it i am redirected to a  new page. I am no longer inside the popup. Please let me know how to avoid going out of the popup box.</p>

<p>I am using php for validation. My file name is register.php. I included this file in popupbox. The code inside register.php has this format.</p>

<pre><code>&lt;?php

// code for validating fields submited in form

?&gt;

&lt;html&gt;
&lt;form action="register.php"&gt;
/// fields
&lt;/form&gt;
&lt;/html&gt;
</code></pre>
