How do I create a hyperlink that functions like a submit button?
Thursday, January 26th, 2006Add some JavaScript to the href attribute of the anchor tag:
< a href = " javascript:submitFunction() ; " >
…and then add the following to the HEAD tag of your HTML:
function submitFunction()
{
document.forms[0].action = ’someURL.html’;
document.forms[0].submit();
}














