You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Seshadhri Srinivasan <ss...@corp.untd.com> on 2003/08/07 07:49:33 UTC

RE: How to add Java Script to a JSP page with struts tags

Hi,
I have created a login button using the <html:submit> tag. I wish to run a
Java Script function validate() when this submit button is clicked. I tried
using 'onclick = "validate()" ' within the html:submit tag, but it does not
work.

Please tell me how I can run Java Script code along with struts tags.

Thanks,
Seshadhri Srinivasan

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org