Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2009
    Thanked 0 Times in 0 Posts

    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..

  2. #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Between DC and Baltimore In a Cave
    Thanked 94 Times in 88 Posts
    If you want to clear the frame set its source to "javascript:''" instead.

    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts