Dave’s Brain
Home
Search
Browse
Recent
Keywords
Other sites
Feedback
Sign in
Random
Crawlers
Programming Tips
- jQueryUI / Bootstrap: close a modal dialog
Date:
2019jul24
Library:
Bootstrap
Library:
jQueryUI
Language:
javaScript
Q.
jQueryUI / Bootstrap: close a modal dialog
A.
var dlg = $('#mydialog'); // jQuery
jQueryUI
dlg.dialog('close');
Bootstrap (versions 3 and 4)
dlg.modal('hide');