Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-28-2009, 01:09 PM   PM User | #1
sajith.pc
New to the CF scene

 
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sajith.pc is an unknown quantity at this point
Multiple file upload with iframe

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..
sajith.pc is offline   Reply With Quote
Old 02-28-2009, 01:18 PM   PM User | #2
A1ien51
Senior Coder

 
A1ien51's Avatar
 
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
A1ien51 will become famous soon enough
If you want to clear the frame set its source to "javascript:''" instead.

Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
A1ien51 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:28 PM.


Advertisement
Log in to turn off these ads.