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
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
rakeshraw..
jQMobile Dialog
in
jQuery Mobile
•
8 months ago
Hi,
I want to show a jQMobile Dialog by javascript statement. By clicking on a button i want to do some processing and show a dialog on success / failure.
1
Reply
Replies(7)
ollibruen..
Re: jQMobile Dialog
8 months ago
i guess you can use the changepage method with the "role" property set to" dialog".
Leave a comment on ollibruening's reply
mushu8
Re: jQMobile Dialog
8 months ago
Dialogs use a tag with data-
rel
attribute.
Maybe you can use this:
$.mobile.changePage( 'YOUR-URL', {transition: 'pop'} );
cf.
http://jquerymobile.com/test/docs/api/methods.html
Alexandre Sagette
iPhone developper
Leave a comment on mushu8's reply
ollibruen..
Re: jQMobile Dialog
8 months ago
http://jsfiddle.net/olli/54jFt/
works for me.
the data-rel attribute is the solution if you want to open a dialog with a link.
from the docs:
<a href="foo.html" data-rel="dialog">Open dialog</a>
pennwin
Re: jQMobile Dialog
3 months ago
i also saw this way in another website,but i want my dialog show in the same page,do you know how to realize it? thanks a lot!
Leave a comment on ollibruening's reply
pennwin
Re: jQMobile Dialog
3 months ago
how can i make my dialog show in the same page by using changePage?
Leave a comment on pennwin's reply
ollibruen..
Re: jQMobile Dialog
3 months ago
what do you mean by 'show in the same page' ?
Leave a comment on ollibruening's reply
poonkave
Re: jQMobile Dialog
3 months ago
probably he wants something like a modal window.
Leave a comment on poonkave'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 rakeshrawatg's question
Top
Reply
{"z6048889":[14737000002700510,14737000002699948,14737000003055030],"z7517630":[14737000002699820],"z2070601":[14737000003055062],"z7332105":[14737000002698728],"z8540134":[14737000003051519,14737000003051515]}
Statistics
7
Replies
563
Views
2
Followers
Tags
Cancel
jqmobile dialog
Actions
Permalink
Related Posts
Change dialog dark background to ma...
select fields in dialog page
JQMobile doesn't load js script...
how to submit form on dialog?
Remove Pages From History or Not Ad...