Calling Outside Functions
Can one call a function outside of the current window. I'm using a frame system, and have two frames: toc, and main. I want to call a function from toc in main.
Here's the code:
document.write('<center><input type="button" value="Finished" onClick="parent.toc.submit();"></center></form>');
It's under a form, so that's why I'm using a </form>. Any help would be appreciated.