I have a.htm with an iframe(b.htm) in it. There is a function called "up" in a.htm If I want to call function "up" from b.htm, how should I write the code?
For example:
<body onload="xxx.up()">
korkus2000
5:00 pm on Jun 1, 2003 (gmt 0)
have you tried top.up()?
liwei
1:24 am on Jun 2, 2003 (gmt 0)
Thank you! I tried "parent.up()", it works. I think it's same as "top.up()".
korkus2000
1:31 am on Jun 2, 2003 (gmt 0)
parent will work also. I like using top because it is an absolute path to a frame. I start out at the root then move to my target. parent is relative and can make a frame system hard to understand. It is personal preference. Glad it works. :)