Hello and welcome to our community! Is this your first visit?
Register
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
    Posts
    1
    Thanks
    0
    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
    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
    If you want to clear the frame set its source to "javascript:''" instead.

    Eric
    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
    •