
02-02-2006, 06:44 AM
|
 |
SEO
|
|
Join Date: May 2005
Location: England, UK
Posts: 621

|
|
Scripting across multiple IFRAME's on one page
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:
Code:
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.inner HTML;
document.rankform.submit();
}
Help?

|