textlink for subit button

A

Anonymous

Guest
Hi.
does anyone know how to make a submit button out of a text link?
 
<a href="javascript: this.document.yourFormName.submit()">Submit</a>
 
<a href="javascript:void(0);" onclick="form.Submit();">
 
Hi!

Just like what they have answered, you can do this by creating a link, calling your form upon onclick and using the submit function. Like this,

Code:
<a href="#" onclick="document.forms['your_form_name_here'].submit();">Here is your submit text link!</a>
I hope this helps. Thank you.
 
Hi,

Try this:

.submitLink
{
background-color: transparent;
text-decoration: underline;
border: none;
color: blue;
cursor: pointer;
}

submitLink:focus
{
outline: none;
}

<input type="submit" class="submitLink" value="Submit">
 
Back
Top