Results 1 to 4 of 4

Thread: Text submit links

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Posts
    23

    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
    Sythe

  2. #2
    PWNettle
    Guest
    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

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    Okay, i hadnt realised it would have been that simple!
    Thanks a lot
    Sythe
    Sythe

  4. #4
    scoutt
    Guest
    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
  •  



Click Here to Expand Forum to Full Width