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

Feedback: irt.org FAQ Knowledge Base Q593

Feedback on: irt.org FAQ Knowledge Base Q593

Sent by Tim on April 21, 2000 at 12:12:11: - feedback #1123

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
Thanks, just what I needed


Sent by Simon Walter on July 12, 2001 at 11:13:17: - feedback #2960

Comments:
This does not work with IE4.
IE4 will ignore
window.document.form[name].submit();
Dunno why, it works when you make the call from a button but not from <a>. Isn't that queer.

Unless of course anyone knows better. (I suspect I'm not the only one who has tried this, then tested it in legacy browsers and wept like a scolded child...)


Sent by Doh on Wednesday April 18, 2007 at 21:07:55 - feedback #4455

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>




Sent by clay on Thursday April 19, 2007 at 22:29:53 - feedback #4460

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
Gravy baby. Thanks




©2018 Martin Webb