Search code examples
javascriptframeset

Call parent javascript function from child frameset's javascript


I am using frameset in my page. In the frameset i have taken two frames and in the first frame i have written some javascript code. How the javascript function of the frame will call the javascript function of the main page.

Can anyone please help :)


Solution

  • This will do it :

    parent.FrameName.FunctionName()