Hi,
I am using a Struts application with JQuery as Javascript library. I have a JSP with a button that invokes a Javascript method that fires an AJAX request to an Action. (Action 1)
The Action returns a JSP page that is displayed within a modal window.
Now, this JSP page has a button that invokes another action (Action 2) that returns a JSP page or should return to the base page.
So the case here is of a modal window click leading to either another modal window or to the base page.
How do we best accomplish this with JQuery ?