[Javascript] Generic submit
Alan Gardner
gardner.alan at gmail.com
Fri Jan 7 14:43:37 CST 2005
Hi all,
If I want to use an anchor link to submit a form, but may not know the
name of the form, or how many forms are on the page, how would I best
do that? I initially thought a simple <a href="#"
onclick="this.form.submit()"> would work, but it appears only to work
on an input tag. Any suggestions on how to create a generic submit
link that I can throw into any page without additional scripting?
More information about the Javascript
mailing list