You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Challa, Prasad V" <PV...@ftb.com> on 2002/09/13 18:38:20 UTC
JavaScript and Struts Action class
Hello,
May be I am doing a weird thing but, I want to be able to call an action
(ex:logoff.do) class from a javascript's onclick method. Is this possible.
Can somebody give an example or more info on this.
Thank you,
Prasad.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JavaScript and Struts Action class
Posted by Eddie Bush <ek...@swbell.net>.
You do it just like you would any other URL you want to invoke in
javascipt. There's nothing special about it. Someone posted this site
the other day, and I found it quite good:
http://irt.org/
Look up the JavaScript FAQ (scroll down a little).
Regards,
Eddie
Challa, Prasad V wrote:
>Hello,
>May be I am doing a weird thing but, I want to be able to call an action
>(ex:logoff.do) class from a javascript's onclick method. Is this possible.
>Can somebody give an example or more info on this.
>
>Thank you,
>Prasad.
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>