Calling A Function In Parent File From Child Frame?
I have a function that resizes the col width ratio of my frameset in 'frame.html':
Solution 1:
Just try parent.functionName()
it should work.
Edit
Just to be sure that the scope is correct you should probably call window.parent.functionName()
instead to be sure that it is actually the frames parent that is referenced
Edit 2
Check out this answer it seems to handle the same chrome issue.
Hope it helps!
Post a Comment for "Calling A Function In Parent File From Child Frame?"