-
Text submit links
Okay, my problem:
I want a text link to act like a submit button, but i have no idea how to go about it. I was told that i could do it by using javascript, but i dont know ANYTHING about JS, so im a bit stuck. Could someone please help me?
Thanks
Sythe
-
Do something like this:
Code:
<FORM NAME="frmTest" METHOD="POST" ACTION="whatever.asp">
<P><A HREF="#" onClick="frmTest.submit()">Click to Submit</A></P>
</FORM>
Paul
-
Okay, i hadnt realised it would have been that simple!
Thanks a lot :)
Sythe
-
or
Code:
<a href="#" onClick="document.formName.submit()">Submit the form</a>