469,588 Members | 2,766 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,588 developers. It's quick & easy.

Call an iframe javascript function from onother Frame

Fuhrer
30
Hi all,

i'm working on a page that contains 2 Frames,
in the first Frame i have an iframe included.
My problem is that i'm trying to call a javascript funtion located in the iframe from the second Frame but it does not work:

in the second Frame:

parent.mainFrame.datamain.hidemenu();

-mainFrame is the first frame
-datamain is the iframe (in the first frame)
-hidemenu() is the javascript function that i want to call.


Thank u.
Feb 8 '07 #1
1 3724
dmjpro
2,476 2GB
try this url
http://www.quirksmode.org/js/frameintro.html
Feb 9 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Mel | last post: by
1 post views Thread by Steven | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.