EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: proceno72 on May 27, 2013, 08:54:03 AM



Title: Close all windows
Post by: proceno72 on May 27, 2013, 08:54:03 AM
How can I close all opened easyui-windows?
I know the "close" method, but how to extract all window objects from the DOM?


Title: Re: Close all windows
Post by: stworthy on May 27, 2013, 06:42:57 PM
Try this:
Code:
$('div.window-body').window('close');


Title: Re: Close all windows
Post by: proceno72 on May 28, 2013, 01:23:53 AM
Thanks, thanks, thanks. It works!