EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 08, 2024, 05:19:08 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
>
[Solved]Check if there is a message from $.messager
Pages: [
1
]
« previous
next »
Print
Author
Topic: [Solved]Check if there is a message from $.messager (Read 3268 times)
MSAG
Newbie
Posts: 41
[Solved]Check if there is a message from $.messager
«
on:
March 23, 2019, 01:57:25 AM »
How can check if there is a message showed from $.messager
or there is modal window or dialog
just check if there is modal
thanks
«
Last Edit: March 25, 2019, 02:53:45 AM by MSAG
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Check if there is a message from $.messager
«
Reply #1 on:
March 24, 2019, 11:48:57 PM »
Try this code to detect if the messager window is opened.
Code:
var mw = $('body').find('.messager-window');
if (mw.length){
//...
}
Logged
MSAG
Newbie
Posts: 41
Re: [Solved]Check if there is a message from $.messager
«
Reply #2 on:
March 25, 2019, 02:54:00 AM »
Thanks it is work
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...