EasyUI Forum
October 03, 2025, 08:27:40 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Close all windows  (Read 10509 times)
proceno72
Newbie
*
Posts: 39



View Profile
« 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?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: May 27, 2013, 06:42:57 PM »

Try this:
Code:
$('div.window-body').window('close');
Logged
proceno72
Newbie
*
Posts: 39



View Profile
« Reply #2 on: May 28, 2013, 01:23:53 AM »

Thanks, thanks, thanks. It works!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!