I've got an ajax call happening that has a $prompt dialog open. I want to close that dialog and put up another one. How can I do that?
if (dataNew.Message && dataNew.Message.length > 0) {
$.prompt.close();
$.prompt("Problem", dataNew.Message);
}
The above does not work. The original dialog stays open.