I have a frameset with 2 frames named "FrameA" and "FrameB". FrameA contains a form named "myForm". FrameB has a button with an OnClick event that calls a JS function named "myFunction". myFunction must be passed the form from frame "A" as a parameter. I've tried:
OnClick="myFunction(top.FrameA.document.myForm);"
but get an "object not found" error when the function executes.
What's wrong?
OnClick="myFunction(top.FrameA.document.myForm);"
but get an "object not found" error when the function executes.
What's wrong?