JavaScript: Text "submit" link?
Posted
by Tedd
on Stack Overflow
See other posts from Stack Overflow
or by Tedd
Published on 2010-06-16T01:05:36Z
Indexed on
2010/06/16
1:12 UTC
Read the original article
Hit count: 178
I have the the following code and want to use a hyper link to submit my form.
<form name="form_signup" id="form_signup" method="post" action="/" enctype="multipart/form-data">
...
<input type="submit" value="Go to Step 2" name="completed" /> or <a onclick="javascript:this.form.submit();">Proceed without uploading</a></span>
</form>
However, my hyperlink submit doesn't work. It just keeps me on the same page.
Question: any idea why my link submit text doesn't work?
© Stack Overflow or respective owner