#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Posts
    43
    Rep Power
    15
    I want to eliminate the "submit" button on my form... at the end of my form, I have :

    <input type="submit" value="submit">

    how can I make a submit "link", text instead of the button?

    Thanks,
    Mike
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    31
    Rep Power
    15
    You can use either <input type="image"> or <a onclick="javascript:document.whateverform.submit()">Submit me</a> (It's something like this. Not tested, easy enough to find if you want to
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Posts
    43
    Rep Power
    15
    <input type="image"> ?

    does it have to be an image? Can't be text? Like input type="submit" text="Submit"... man, that bites.

    Mike
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Posts
    84
    Rep Power
    16
    Use:

    <a href="javascript:void(null);" onClick="document.formname.submit();">Submit Form</a>

    Keep in mind that this will only work as long as the action of your form is not a mailto: at least for NS anyways. It should work in IE.

    Spookster

Similar Threads

  1. [JS] Enable/disable submit button
    By mrbomb in forum HTML Programming
    Replies: 15
    Last Post: February 29th, 2004, 09:59 AM
  2. Replies: 9
    Last Post: February 9th, 2004, 11:31 AM
  3. Passing Information to a new page with a submit button
    By GWalnum in forum PHP Development
    Replies: 4
    Last Post: September 1st, 2003, 12:56 PM
  4. post without user hitting submit button
    By toddschw in forum PHP Development
    Replies: 2
    Last Post: July 15th, 2002, 07:10 PM
  5. Simple submit button question
    By johnn in forum PHP Development
    Replies: 7
    Last Post: November 30th, 2001, 05:29 AM

IMN logo majestic logo threadwatch logo seochat tools logo