Closing the iframe which was opened for "ajax uploading"
- by KPL
Hello people,
http://www.atwebresults.com/php_ajax_image_upload/
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.
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.
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.