I am in a situation where I have a single page divided into 2 frames. I have a <input type="button" value="Next"> that is located on the 2nd frame. What I need to do is be able to click on Next, have it call a javascript function that will get the 1st frame to do a submit. I have code where I can do this from the same document with a form using JS code document.form[0].submit. I need to do something similar to this but have the .submit triggered from javascript so that it will work from the button stored in a separate document. Thanks!