Hi guys,
I get the fault: 'Object doesn't support this property or method'
In my window I have a topframe, a middle frame and a bottom frame.
The middle frame:
...
<head>
<title>UserMain</title>
<LINK REL=stylesheet HREF="../read/css/surveyStyle1.css" TYPE="text/css">
<SCRIPT LANGUAGE="JAVAscript">
function OnSubmit()
{
document.frmForm.submit();
}
function onLoad()
{
parent.window.document.frames[2].location.href="bottom.asp";
}
</SCRIPT>
</head>
<body onLoad=onload()>
...
<form name="frmForm" method="POST" action="UserMain.asp">
...
</form>
Bottom frame:
<HEAD>
<TITLE> bottom </TITLE>
<SCRIPT LANGUAGE="javascript">
function onSubmit()
{
parent.window.document.frames[1].onSubmit();
}
function back()
{
parent.window.history.back();
parent.window.history.back();
}
</SCRIPT>
</HEAD>
<BODY>
<table border="0" cellpadding="0" cellspacing="0" width="750px" align="center">
<tr>
<td id="left" width="60px">
<A HREF="#" OnClick="back()"><img border="0" src="/read/img/ArrowL.gif"></A>
</td>
<td><hr></td>
<td width="60px">
<A HREF="help"><img border="0" src="/read/img/qmark.gif"></A>
</td>
<td><hr></td>
<td id="right" width="60px">
<A HREF="#" onclick="onSubmit()"><img border="0" src="/read/img/ArrowR.gif"></A>
</td>
</tr>
</table>
Thanks in advance
BrOcKy