Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q372 How can I make one submit-button post two different form to two different urls?

irt.org | Knowledge Base | JavaScript | Form 7.2 | Q372 [ previous next ]

Q372 How can I make one submit-button post two different form to two different urls?

Use a frameset with three frames - two of which are hidden. When the visible form is submitted use the onSubmit event handler to submit the two invisible forms:

<FORM onSubmit="parent.frame2.formName.submit();parent.frame3.formName.submit();return false">
<INPUT TYPE="SUBMIT" VALUE="Send two forms">
</FORM>

Feedback on 'Q372 How can I make one submit-button post two different form to two different urls?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.