File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes call action with javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "call action with javascript" Watch "call action with javascript" New topic

call action with javascript

Mike Phillip
Ranch Hand

Joined: Dec 05, 2007
Posts: 37
Hi there,

I'm using this code to make a link to an action:

this is working fine

but now I need to open the link for the action in a new window, so a made this javascript function, but I don't know how to pass this action as a parameter to the js function

this is the function:

anyone can help?

I agree. Here's the link:
subject: call action with javascript
It's not a secret anymore!