Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Zoho Docs
Google Docs
Each Attachment size should not exceed 1MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
jQuery Mobile
pushp.abr..
How to check if a popup is open?
in
jQuery Mobile
•
8 months ago
Is there a way to determine programatically thru methods if a popup is already open on the screen?
1
Reply
Replies(5)
watusiware
Re: How to check if a popup is open?
8 months ago
Assuming your popup page has class
my-popup
. (Search the forum why using an ID is a bad idea...)
if ($.mobile.activePage.find(".my-popup").is(":visible") {
// Do something here if the popup is open
}
Leave a comment on watusiware's reply
jacobvegas
Re: How to check if a popup is open?
3 months ago
Check your URL GET parameters for the ui-state variable appended when the popup if active.
&ui-state=dialog
Leave a comment on jacobvegas's reply
watusiware
Re: How to check if a popup is open?
3 months ago
See my edited response above, in case you want to know if a
particular
popup is open.
total_noob
Re: How to check if a popup is open?
17 days ago
I tried using your method for checking popup state but for some reason it doesn't work.
jsfiddle:
http://jsfiddle.net/W9eVj/
What am I doing wrong?
Leave a comment on watusiware's reply
John Chac..
Re: How to check if a popup is open?
16 days ago
listening to click of a button and check a popup is open or not is not going to work.
As popup will be always closed when clicking outside it...
Probably your actual application scenario may be different....
Leave a comment on John Chacko's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to pushp.abrol's question
Top
Reply
{"z20972718":[14737000003587458],"z7664639":[14737000003588509,14737000003949011],"z2070601":[14737000004111480],"z24760536":[14737000004109319],"z24627496":[14737000003945597]}
Statistics
5
Replies
1298
Views
0
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
Photo Popup problem
jQuery Mobile dialog not working - ...
How do I prevent an anchor from dis...
buttons not styled in jQM popup lau...
Form with validation ¿any example?