|
-
Aug 29th, 2001, 06:14 AM
#1
Thread Starter
Junior Member
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
-
Aug 29th, 2001, 10:43 AM
#2
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
-
Aug 29th, 2001, 11:04 AM
#3
Thread Starter
Junior Member
Okay, i hadnt realised it would have been that simple!
Thanks a lot 
Sythe
-
Aug 29th, 2001, 11:05 AM
#4
or
Code:
<a href="#" onClick="document.formName.submit()">Submit the form</a>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|