You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Syed Niaz <ni...@rediffmail.com> on 2002/02/20 14:50:51 UTC

submitting with link

Hi

Iam unable to submit a form using a link 

	function fna()
	{
		alert(document.forms[0].name);
		document.forms[0].submit ;
	}
<html:link href="javascript:fna()">click</html:link>

No error is generated , but the screen simply does not move to the location defined in struts.config .

Instead , <html:link page="/convert.do?name=aa">sfsdfsfsfsdf </html:link> works but iam unable to assign values to hidden variables .

Thanks ,

Regards,
Syed Niaz 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>