Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1333 Is there any way to emulate a http "POST" request, but with multiple form buttons peforming different requests?

You are here: irt.org | FAQ | JavaScript | Form | Q1333 [ previous next ]

Try (remembering that Internet Explorer 3 cannot change the forms action attribute):

<form method="post">
<input type="submit" onClick="this.form.action='http://search.yahoo.com'">
<input type="submit" onClick="this.form.action='http://search.webcrawler.com'">
....
</form>

©2018 Martin Webb