suganya
09-11-2003, 02:08 PM
have two frames - addColsContent and addColsFooter... <frameset rows="*,0" framespacing="0" frameborder="0"> <frame name="addColsContent" id="addColsContent" src="as_addColsContent.jsp" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0"> <frame name="addColsFooter" id="addColsFooter" src="as_addColsFooter.jsp" marginwidth="10" marginheight="10" scrolling="no" frameborder="0"> </frameset> i want to submit the hiddenframe's (addColsFooter) form when i click on the ok button of the frist frame (addColsContent) i tried this... wouldn't work!... in my 1st frames form: <input style="width:60px" type="submit" name="submitButton" value="OK" onClick="onClickOKButton();"> in my onclickokbutton i have: parent.frames["addColsFooter"].document.getElementById("addColumnsSave").submit(); the frame1 has the form addcolsRetrieve and the frame2 has addColsSave. now, both these forms are mapped to two different actions....What i am trying to achieve is, when the ok button in form addColsRetrieve is clicked, i need to call the action mapped to the form in frame2 which would save the form in frame1 and when the user just opens up the page, it should call the action of the frame1 form which is retrieving teh form with the user entered values... thanks for all ur help...