<form method="get" action="" id="testForm">
<a href="javascript:void(0);" onclick="javascript:document.getElementById('testForm').submit();">Submit form</a>
</form>
Eller rett og slett bare sånn
HTML:<form method="get" action="" id="testForm"> <a href="javascript:void(0);" onclick="javascript:document.getElementById('testForm').submit();">Submit form</a> </form>
<a href="javascript:void(0);" onclick="javascript:document.getElementById('testForm').submit();">Submit form</a>
<a id="myButton" href="#">Submit form</a>
var myButton = document.getElementBydId("myButton");
myButton.onclick = function(){
//Bruk submit funksjonen her for å sende inn skjemaet.
}