Jquery ajax with multiple modal windows
<p>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)</p>

<p>The Action returns a JSP page that is displayed within a modal window. </p>

<p>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.</p>

<p>So the case here is of a modal window click leading to either another modal window or to the base page.</p>

<p>How do we best accomplish this with JQuery ?</p>
