Gossamer Forum
Home : General : Perl Programming :

javascript issue: floating frames and functions

Quote Reply
javascript issue: floating frames and functions
I have an html page that contains a javascript function and a floating frame. How do I call the function from the floating frame? The code looks like this:

<html>
<head>
</head>
<body>

<script language="javascript">
function somefunction() {
// code here
}
</script>

<iframe src="floater.html"></iframe>

</body>
</html>

To rephrase the question... What do I put in floater.html to call somefunction()?

Thanks!

Quote Reply
Re: javascript issue: floating frames and functions In reply to
This page should help:

http://www.webreference.com/js/tips/000729.html

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/