View Full Version : top.frames not recognized by firefox?

12-05-2006, 09:19 PM
Heres the lowdown.
I've got an html document with two iframes.
The first iframe points to an xml document.
The second iframe points to an aspx document.

When the aspx document redirects to itself, the following javascript is executed:
top.frames["pShoutboxXML"].location.reload(true); return false;
Which tells the html document to tell the xml document(pShoutboxXML) to refresh.

It works fine in IE and my brother told me it also works in Opera.
But it does not work in firefox and I don't know why.
Any ideas?

P.S. Heres a link to the page in question:
EDIT: and heres a link to the aspx form:

12-05-2006, 10:34 PM
You need to remove the boolean argument from the reload method. You might also try it without the return false command. In some instances that may prevent the iframe from redirecting.