I have a need to have a frame with a form in it (no problem) ..but the "submit" button is on another frame. Is this even possible....if so how do I handle it...
u can change the contents of different frames from any frame using parent.frames[1], etc.
suppose u have 2 frames, they get numbered as frames[0] and frames[1]. assume u call the form in one frame as 'frm'. now in the onclick event of the other frame where the submit button is, put this code:
<input type=submit onclick='parent.frames[1].document.frm.submit()'>
this should do the trick. (may b i made some small mistake, but just fool around with parent.frames[] and u'll get it).
Not being that comfortable with frames..your suggestion was lost...I appreciate the attempt ..let me give you some more detail... the following is some cutdown code..the submit button should submit the data in the form from Arequest.asp to Frame_Detail.asp.....is this do-able???
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.