CanMan2004 Posted September 16, 2006 Share Posted September 16, 2006 Hi allI have a simple script to submit a form when a field has been completed, I use onchange="this.form.submit();"How can I point it to submit the form in another frame? The frame is called "iform" so all I want to do is target that onchange to a frame name.I cant though, target this onchange using the <form> tag as the rest of my form will not function, so I need to set the target within the onchange="this.form.submit();"Can anyone help?Thanks in advanceDave Link to comment https://forums.phpfreaks.com/topic/21015-onchange-submit-form/ Share on other sites More sharing options...
degsy Posted September 18, 2006 Share Posted September 18, 2006 parent.framename.formname.submit() Link to comment https://forums.phpfreaks.com/topic/21015-onchange-submit-form/#findComment-93979 Share on other sites More sharing options...
fenway Posted September 20, 2006 Share Posted September 20, 2006 Unfortunately, each FORM can only have a one ACTION and one TARGET. Link to comment https://forums.phpfreaks.com/topic/21015-onchange-submit-form/#findComment-95267 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.