I bring out two modal dialogs of jQuery UI. One of them starts with the success of the AJAX function, so it usually appears later, on top of the first dialog. I would like to programmatically switch the stacking order of the two dialogs so that the first appears on top of the second. Trying to do this with the zIndex property and with a dialog ("moveToTop"), but none of them have an effect. Suggestions?
source
share