Do I really want to have a link, such as "Save", that act just like a submit type submit button?
I never understood how to do this, is it possible? How?
You can simply hover the button so that it looks like a link:
input[type="submit"] { background: transparent; text-decoration: underline; cursor: pointer; }
javascript is possible. eg:
<form name="theform" ...> <a href="javascript:document.theForm.submit();">Save</a> </form>
but I would suggest styling a button to look like a link, so you have no problems with clients without javascript
:
<form id="myform" name="myform" method="post" action="something.php">
: <a href="javascript:postform()">Click!</a>
<a href="javascript:postform()">Click!</a>
JavaScript:
<script language="JavaScript" type="text/javascript"> function postform( ) { document.getElementById('myform').submit() ; } </script>