By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,698 Members | 1,328 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,698 IT Pros & Developers. It's quick & easy.

Call an iframe javascript function from onother Frame

Fuhrer
P: 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
Share this Question
Share on Google+
1 Reply

dmjpro
100+
P: 2,476

Post your reply

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