Hi All,
I want to be able to submit a form when a user clicks on a link and not via a submit button.
Link code shown here
<a href="#" onClick="setParams('dev')">Houses</a>
The setParams function has the following line of code at the end to perform the submit where the form name is ztsuppform.
document.ztsuppform.submit();
However this does not submit the form...any ideas?
Thanks
I want to be able to submit a form when a user clicks on a link and not via a submit button.
Link code shown here
<a href="#" onClick="setParams('dev')">Houses</a>
The setParams function has the following line of code at the end to perform the submit where the form name is ztsuppform.
document.ztsuppform.submit();
However this does not submit the form...any ideas?
Thanks