I've a framed page, called main.xhtml
. Inside that page is the following code block:
<html>
<body>
<script>
javascriptCode
</script>
<frameset cols="234,*" border="0" frameborder="no">
<frame src="LeftPage.html" />
<frame src="RightPage.html" name="main" />
</frameset>
</body>
</html>
How can I call the javascriptCode from inside LeftPage.html or RightPage.html? For example, I'll click on a button on LeftPage.xhtml and javascriptCode in the main page will be triggered. Thanks.