how to call a function from another frame - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

how to call a function from another frame

nutytyfellanutytyfella Posts: 1Member
is it possible to call a function that belongs to another frame?
if is, how?
if it isn't, any alternatives?

thanks alot


  • SouldrinkerSouldrinker Posts: 143Member
    why do you want to do so? just include the script file in every file using - I guess this is better

    best regards,

    sebastian mohrenstecher
    executive secretary
    [email protected]

  • borislavborislav Posts: 16Member
    it's the harder way and not very suitable. Often there must be made call to other frame for some kind of action in your web page (even this is a intranet application).
    So the method are well known and not very difficult to understand. Here are my suggestion:

    parent.Frame_name.func_name([arguments list]);

    where: 1)Frame_name is the frame name in the frameset
    2)func_name is the name of the function.
    That's way for invoke function or use any other global variables may used in any frame on your applications.

    that's all folks!!!

Sign In or Register to comment.