I have two frames. The bottom frame is supposed to get the value "Seconds", and pass that variable to the topFrame.
The line TDelay(Seconds); is giving me an error
"Object Expected" I don't know what it wants. The code below is in the Head of the bottom frame.
Does anyone know what it is looking for when it gives me the error "Object Expected" ?????
<script language="JavaScript">
parent.topFrame.TDelay(Seconds);
var Seconds
var Today
</script>
<script language="JavaScript">
function TDelay2(){
Today = new Date();
// ask the object for some information
Seconds = Today.getSeconds();
TDelay(Seconds);
}
</script>
The line TDelay(Seconds); is giving me an error
"Object Expected" I don't know what it wants. The code below is in the Head of the bottom frame.
Does anyone know what it is looking for when it gives me the error "Object Expected" ?????
<script language="JavaScript">
parent.topFrame.TDelay(Seconds);
var Seconds
var Today
</script>
<script language="JavaScript">
function TDelay2(){
Today = new Date();
// ask the object for some information
Seconds = Today.getSeconds();
TDelay(Seconds);
}
</script>