I'm trying to do a two steps modal window. The first is a form with a submit button, once you click it, it should close the modal, and open a second modal window with different content and design. I can't use jquery hide/show to toggle different divs because in this case the second modal is totally different. If I do this, it doesn't work
$('#callLink').click(function(){
$('#jqAgenda').jqmHide();
$('#jqConfirm').jqmShow();
});
callLink is inside jqAgenda modal window
Thanks
This worked fine, the overlay stays on the background while the new modal window is being loaded.
$('#callLink').click(function(){
$('#jqAgenda').jqmHide();
});
$('#jqCall').jqm({trigger: '#callLink'});
Solved :)