How to open second popup on first popup close event?
If I'm opening second modal popup on first modal popup event -
$divFirstPopup.modal({
onClose: function(dialog) {
$.modal.close();
$.modal('#divSecondPopup');
}
});
But second popup does not appear. Can anyone provide help on this?
I think it is because:
$.modal('selector');
does not work only this should work:
$.modal($('selector'));