...

View Full Version : Multiple file upload with iframe



sajith.pc
02-28-2009, 01:09 PM
I am new to javascript programming.

I am working on a image application.
The user can upload their images.
The upload is working fine in firefox browser and there is a problem in IE 6 browser.

I have a upload link in the page.
When the user clicks the 'upload' link, it calls the javascript function , which create the form and iframe for the form.

And the upload of single file is working in firefox and IE 6

After successfully uploaded the image , again the upload link will be displayed

So if i do the upload of another file, it works fine in firefox and in IE 6 the file is not going to the server, in between the iframe is refreshing.


After first file upload i reset the innerHTML of the iframe to null.

I don't know the problem in IE 6.
Why it is refreshing the iframe twice?

thanks in advance..

A1ien51
02-28-2009, 01:18 PM
If you want to clear the frame set its source to "javascript:''" instead.

Eric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum