ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Remote Scripting with IFRAME
Subject:   Please Help Me Debug: Probs With IE Properties (I think)
Date:   2007-01-12 08:31:57
From:   pbd22
Response to: Please Help Me Debug: Probs With IE Properties (I think)

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:


IFrameDoc.location.replace=URL;


is anybody else having this problem?