Call an iframe javascript function from onother Frame

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fuhrer
    New Member
    • Dec 2006
    • 30

    Call an iframe javascript function from onother Frame

    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.mainFram e.datamain.hide menu();

    -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.
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    #2
    try this url
    Last edited by acoder; Feb 9 '07, 09:42 AM. Reason: Activated url

    Comment

    Working...