Hi.
does anyone know how to make a submit button out of a text link?
textlink for subit button
Moderators: egami, macek, gesf
-
- php-forum Fan User
- Posts: 74
- Joined: Sun Nov 24, 2002 6:48 pm
- Location: katrineholm
-------
stefan
-------
stefan
-------
<a href="javascript:void(0);" onclick="form.Submit();">
- WebOutGateway
- php-forum Fan User
- Posts: 65
- Joined: Mon Jun 13, 2011 9:25 pm
- Location: Pasig City, Philippines
- Contact:
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,
I hope this helps. Thank you.
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: Select all
<a href="#" onclick="document.forms['your_form_name_here'].submit();">Here is your submit text link!</a>
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">
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">