O
Olaf
I have a frameset page witch contains the myFuc() function. The
function is accessed from a page in one of the frames in the frameset.
An example is shown below.
<input onclick="javaScript:alert('document.forms(0)='+document.forms(0));
parent.myFunc(document.forms(0));" type="button" value="Open"
name="Button" ID="Button">
The strange part is that the debug alert says that the
document.forms(0) is an object så all seem to be well. But directly
afterwords when parent.myFunc(document.forms(0)) is to execute, the
page halts with the "Object doesn't support this property or method"
error message.
How can it be allright first and then not?
/Olaf
function is accessed from a page in one of the frames in the frameset.
An example is shown below.
<input onclick="javaScript:alert('document.forms(0)='+document.forms(0));
parent.myFunc(document.forms(0));" type="button" value="Open"
name="Button" ID="Button">
The strange part is that the debug alert says that the
document.forms(0) is an object så all seem to be well. But directly
afterwords when parent.myFunc(document.forms(0)) is to execute, the
page halts with the "Object doesn't support this property or method"
error message.
How can it be allright first and then not?
/Olaf