A submit

dvanhorn <[email protected]> Mon, 23 Feb 2004 14:15:21 -0500
Newsgroups gmane.org.ballistichelmet.devel
Message-ID <[email protected]>
How in the fuck does one compatibly use an anchor to submit a form?

<form>
<a onclick="submit()">submit</a>
</form>

Works on Moz and IE 6+.  Doesn't work on IE 6-.

<form name="f">
<a href="javascript:form.f.submit()">submit</a>
</form>

Works in IE 6-/+.  Doesn't work in Moz.

Using both still doesn't work in Moz.

Any other ideas?  (Surely someone has figured this out, but I am pulling hair
out as we speak.)

David