L
Lupus
Hi everyone,
I've got a problem with javascript. I have a webpage which contains
some javascript functions and an iFrame which contains a second
webpage:
<html>
<head>
....
<script....>
function MyFunction()
{
....
}
</script>
</head>
<body>
<iframe src="calendar/ipopeng.htm" scrolling="no" frameborder="0" >
<LAYER name="gToday:normal:agenda.js" src="calendar/npopeng.htm"
background="webpage.htm"></LAYER>
</iframe>
</body>
</html>
Inside webpage.htm I also have some javascript code. What I need to do
is call the function MyFunction() from inside webpage.htm...
Unfortunetaly (and understandably) it doesn't work just like that:
MyFunction();
How can I do this ?
Kind regards,
Mathew
I've got a problem with javascript. I have a webpage which contains
some javascript functions and an iFrame which contains a second
webpage:
<html>
<head>
....
<script....>
function MyFunction()
{
....
}
</script>
</head>
<body>
<iframe src="calendar/ipopeng.htm" scrolling="no" frameborder="0" >
<LAYER name="gToday:normal:agenda.js" src="calendar/npopeng.htm"
background="webpage.htm"></LAYER>
</iframe>
</body>
</html>
Inside webpage.htm I also have some javascript code. What I need to do
is call the function MyFunction() from inside webpage.htm...
Unfortunetaly (and understandably) it doesn't work just like that:
MyFunction();
How can I do this ?
Kind regards,
Mathew