i have a document with 2 frames named control and main
First question:
In control i have a back image button. When onclick this button the 2
frames should go history -1. Here's my code:
</SCRIPT>
<script language="JavaScript">
<!--
function gum()
{
parent.control.history.go(-1);
parent.main.history.go(-1);
}
//-->
</script>
<TD ALIGN="LEFT"><A HREF="#" onClick="gum()" ....
And of course it doesn't work.
Second question: I have also a clear form image button in control that should clear
all the forms in the other frame main. I don't know yhe proper syntax to do this.
If anyone knows.
Thanks for your incomming answers.
First question:
In control i have a back image button. When onclick this button the 2
frames should go history -1. Here's my code:
</SCRIPT>
<script language="JavaScript">
<!--
function gum()
{
parent.control.history.go(-1);
parent.main.history.go(-1);
}
//-->
</script>
<TD ALIGN="LEFT"><A HREF="#" onClick="gum()" ....
And of course it doesn't work.
Second question: I have also a clear form image button in control that should clear
all the forms in the other frame main. I don't know yhe proper syntax to do this.
If anyone knows.
Thanks for your incomming answers.