baloney_mahoney
06-10-2004, 03:02 PM
Main HTML document.........
<html>
<head><title>MAIN HTML DOCUMENT</title></head>
<frameset ........................>
<frame name="topframe" src="topframe.html" >
<frame name="bottomframe" src="bottomframe.html">
</frameset>
<script language="javascript">
function myFunction()
**
//
// do something here
//
}
</script>
</html>
Here is what I want to do. In the HTML document 'bottomframe.html" there is a submit button that when I
click on it I want it to call a Java Script function that is in the other HTML document 'topframe.html'.
Is this possible and if yes how is it done?
Also, is it possible for either HTML documents, 'topframe.html' and/or 'bottomframe.html', to call the
Java Script function 'myFunction' in the main HTML document?
<html>
<head><title>MAIN HTML DOCUMENT</title></head>
<frameset ........................>
<frame name="topframe" src="topframe.html" >
<frame name="bottomframe" src="bottomframe.html">
</frameset>
<script language="javascript">
function myFunction()
**
//
// do something here
//
}
</script>
</html>
Here is what I want to do. In the HTML document 'bottomframe.html" there is a submit button that when I
click on it I want it to call a Java Script function that is in the other HTML document 'topframe.html'.
Is this possible and if yes how is it done?
Also, is it possible for either HTML documents, 'topframe.html' and/or 'bottomframe.html', to call the
Java Script function 'myFunction' in the main HTML document?