Closing the iframe which was opened for "ajax uploading"
<p><a href="http://www.atwebresults.com/php_ajax_image_upload/" rel="nofollow">http://www.atwebresults.com/php_ajax_image_upload/</a></p>

<p>I am using this script for so-called AJAX file upload but which is actually based on opening of iframe and then submitting form from it.</p>

<p>What my problem is, I am using this script in a form which will have some other fields too. So after uploading the image, when I click submit at the end of the form, the form is submitted to the file which was opened in iFrame.</p>

<p>As I am not an expert in JS, can you guys help me with this? I tried changing the action attribute and tried to completely remove the form too, but nothing helped.</p>
