Browse - Programming Tips - jQueryUI: Listen for close of modal dialog

Date: 2019jul23
Library: jQueryUI
Language: javaScript
Keywords: jQuery UI

Q.  jQueryUI: Listen for close of modal dialog

A.

var dlg = $('#mydialog'); dlg.on('dialogclose', function(event) { console.log('Dialog has closed'); });