I am trying to submit a form using a link instead of pressing a buttton, I have tried the following code but the action doesn't get executed, in fact nothing happens.
<form name="breadcrumb" method="post" action="/showcase/SelectBreadcrumbAction.do">
<input type="hidden" name="path" value='<%= breadcrumb.getPath()%>'/>
</form>
<a href ='javascript:void(document.forms["breadcrumb"].submit()' >link</A>
I have a bean with a get and set method for the path value. Does anyone know a way I can do this?
<form name="breadcrumb" method="post" action="/showcase/SelectBreadcrumbAction.do">
<input type="hidden" name="path" value='<%= breadcrumb.getPath()%>'/>
</form>
<a href ='javascript:void(document.forms["breadcrumb"].submit()' >link</A>
I have a bean with a get and set method for the path value. Does anyone know a way I can do this?