Two Laptop Bag
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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!