Submit a form using <a> anchor element, without javascript
forms, html
Solution
Try this:
CSS
button {
background:none!important;
border:none;
padding:0!important;
/*border is optional*/
border-bottom:1px solid #444;
}
HTML
<button>your button that looks like a link</button>
Problem
How to replace the submit button with a link without using javascript ? is there any way to add the submit attribute to a link ? because the form will not be sent by a simple link without "submit". ``` <form:form action="/getPage" > <div class="buttons"> <a class="link" href=""> <img src="icon.png" /> </a> </div> </form:form> ``` I work in an application web so if i use javascript the link will not be mapped by the server ..