I want to close all jquery dialogs before open a new dialog.
I'm trying with following code.
$(".ui-dialog-content").dialog("close");
It works but it too close new dialog too.
please help me anyone.
Try:
$(".ui-dialog-content").not(<selector for the dialog you don't want to close>).dialog("close");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With