BSolveIT
02-02-2006, 07:43 AM
Hello!
I have a page with a 2 IFRAME's in it. Both have FORM's in them.
I want to replace the innerHTML of one FORM with the innerHTML of the other FORM in a different IFRAME.
I have it working fine with IE, but it's not working with Firefox.
Here's the code in question:
function setup()
{
window.parent.document.getElementById("se_name").innerHTML = '<%=request.querystring("se_name")%>';
document.rankform.action = '<%=request.querystring("q")%>';
// This is the line that doesn't work with Firefox.
document.rankform.innerHTML = window.parent.searchterms.document.setupform.innerHTML;
document.rankform.submit();
}
Help?
:rolleyes:
I have a page with a 2 IFRAME's in it. Both have FORM's in them.
I want to replace the innerHTML of one FORM with the innerHTML of the other FORM in a different IFRAME.
I have it working fine with IE, but it's not working with Firefox.
Here's the code in question:
function setup()
{
window.parent.document.getElementById("se_name").innerHTML = '<%=request.querystring("se_name")%>';
document.rankform.action = '<%=request.querystring("q")%>';
// This is the line that doesn't work with Firefox.
document.rankform.innerHTML = window.parent.searchterms.document.setupform.innerHTML;
document.rankform.submit();
}
Help?
:rolleyes: