EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
April 18, 2024, 12:32:12 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Get List of Open Windows
Pages: [
1
]
« previous
next »
Print
Author
Topic: Get List of Open Windows (Read 3685 times)
jwilliquor
Newbie
Posts: 15
Get List of Open Windows
«
on:
March 17, 2020, 11:20:55 AM »
Is there a way to get a list of open windows? I need to look through the open windows to see if a window is already open or not.
Thanks
Justin
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: Get List of Open Windows
«
Reply #1 on:
March 18, 2020, 01:34:28 AM »
Call this code to see if the window is open.
Code:
var opts = $('#w').window('options');
if (opts.closed){
console.log('The window is closed');
} else {
console.log('The window is open');
}
Logged
jwilliquor
Newbie
Posts: 15
Re: Get List of Open Windows
«
Reply #2 on:
March 23, 2020, 02:17:34 PM »
Jarry
That is only part of what i'm looking for. The other part is a list of ID's of window objects themselves that exist.
Thanks
Justin
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...