> Here is my code. Some how form is not submitted. Once i click the
'aboutus'
> link nothing is happening.
>
> Can some one tell me what is going on please.
>
> function setAction(action, link)
> {
> document.form.action = act;
Shouldn't this be: action
> document.form.method = "POST";
> document.form.selectedGlobalLink.value = link; // This is hidden filed to
remember which link is selected
>
> document.form.submit();
> }
>
>
> <html:form action = "/demo" method = "POST">
>
> <a href="#" onClick="setAction('/aboutus','2');">About Us</a>
You sure it isn't "/aboutus.do"?
Regards,
Marcel
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
|