If i have an iframe from within an HMTL document:
Iframe.htm:
------------------------------
<html>
<head>
<title>Iframe.h tm</title>
</head>
<body>
<iframe src="sample.htm "></iframe>
</body>
</html>
And this iframe loads the src=Sample.htm below:
Sample.htm
-------------------------------
<html>
<head>
<title>Sample.h tm</title>
<script language="JavaS cript">
function fireClickFuncti ons(){
alert('do lots of stuff');
}
</script>
</head>
<body>
<b onClick="fireCl ickFunctions(); ">CLICK ME</b>
</body>
</html>
How can i capture an onClick event from within the calling iframe document
(not
using a cookie or something)? Any ideas?
Wendi Turner
wenditurner@ear thlink.net
Iframe.htm:
------------------------------
<html>
<head>
<title>Iframe.h tm</title>
</head>
<body>
<iframe src="sample.htm "></iframe>
</body>
</html>
And this iframe loads the src=Sample.htm below:
Sample.htm
-------------------------------
<html>
<head>
<title>Sample.h tm</title>
<script language="JavaS cript">
function fireClickFuncti ons(){
alert('do lots of stuff');
}
</script>
</head>
<body>
<b onClick="fireCl ickFunctions(); ">CLICK ME</b>
</body>
</html>
How can i capture an onClick event from within the calling iframe document
(not
using a cookie or something)? Any ideas?
Wendi Turner
wenditurner@ear thlink.net
Comment