S
szimek
Hi,
I've got a page with an iframe:
<iframe id="commframe" src="../webclient/common/hiddenframe.jsp">
then there's the following code:
var commframe =
document.getElementById("commframe").contentWindow.document;
Now in FF commframe is ../webclient/common/hiddenframe.jsp, while in
IE it's ../ui/main.jsp.
I'm trying to make an IE-only web page to work in other browsers. This
js code is from a general function that is called by many of elements,
so I can't simply get the document by name or something - it must be
very general.
Any ideas what's wrong? Thanks in advance
I've got a page with an iframe:
<iframe id="commframe" src="../webclient/common/hiddenframe.jsp">
then there's the following code:
var commframe =
document.getElementById("commframe").contentWindow.document;
Now in FF commframe is ../webclient/common/hiddenframe.jsp, while in
IE it's ../ui/main.jsp.
I'm trying to make an IE-only web page to work in other browsers. This
js code is from a general function that is called by many of elements,
so I can't simply get the document by name or something - it must be
very general.
Any ideas what's wrong? Thanks in advance