Women in Technology

Hear us Roar

  Remote Scripting with IFRAME
Subject:   Please Help Me Debug: Probs With IE Properties (I think)
Date:   2007-01-12 06:03:53
From:   pbd22

i have been trying to use this code for days now and can't seem to get it to work. i am trying to do a javascript multi-file upload via hidden iframe - its kinda tricky, but doable, i think.

it seems that when the IE7 script debugger is turned on it complains that the location.iframe
and location.replace properties do not exist. I am guessing that this must be my problem (although, it is just a guess) because when i try the script, i get a httpfilecollection count of zero on the server.

has anybody had the same problem? or, would somebody mind helping me figure out what is wrong.

i would seriously appreciate the help.

kind regards.

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Please Help Me Debug: Probs With IE Properties (I think)
    2007-01-12 08:31:57  pbd22 [View]

    me again.

    there definitely seems to be a problem with the below code (at least in IE7):

    IFrameObj = new Object();
    IFrameObj.document = new Object();
    IFrameObj.document.location = new Object();
    IFrameObj.document.location.iframe = document.getElementById('RSIFrame');
    IFrameObj.document.location.replace = function(location) { //4
    this.iframe.src = location;
    } // end 4

    because when i check the innerHTML of the iframe
    tag once the form is submit it is empty. the following code never did its thing:


    is anybody else having this problem?