Jquery UI Close Dialog & Open New Dialog
问题 The concept seems simple enough, yet i'm having a lot problems executing it. I need to close the current dialog and open another. It does close the #imageModal, but does not open the #uploadModal. Any suggestions? Edit: Added the #uploadModal $("#imageModal").dialog({ autoOpen: false, height: 500, width: 500, modal: true, closeOnEscape: true, resizable: false, buttons: { 'Upload Image': function() { // CLOSE 1 DIALOG AND OPEN ANOTHER $(this).dialog('close'); $('#uploadModal').dialog('open');