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

Feedback on: irt.org FAQ Knowledge Base Q593, Wednesday April 18, 2007 at 21:07:55

You are here: irt.org | About | Feedback | 4455 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q593

Sent by
Doh on Wednesday April 18, 2007 at 21:07:55

Worth:

Length:

Technical:

Comments:
It's plain to see from the example, but it took me a while to appreciate that the javascript link needs to be called from outside the form.

Also, if you want the link to return the form to somewhere different than the main action of the form, or have several links returning the form to several different places, add a line in the javascript function to alter the action.


<script language="JavaScript"><!--
function func_name111() {
document.form.action="some_place.html";
document.form_name.submit();
}
//--></script>

<script language="JavaScript"><!--
function func_name222() {
document.form.action="some_other_place.html";
document.form_name.submit();
}
//--></script>




Other feedback on 'irt.org FAQ Knowledge Base Q593' - show all

©2018 Martin Webb