Closing all jquery dialog windows in JavaScript -


how 1 close jquery ui dialog windows in javascript?

situation:

the page has multiple things can opened using dialog boxes. need way close previous windows before opening new one.

they have .ui-dialog-content class, select , close them, this:

$(".ui-dialog-content").dialog("close"); 

Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -