Is there a nice Sencha-like jQuery Mobile solution for Alerts and Confirmation dialogs?
相关问题
- Jquery mobile dual range slider reload with new ra
- jquery-mobile still “No Back Button” (Beta 2)
- How to use font awesome icons in jQuery mobile but
- jQuery Mobile header button float left and right
- Jquery Mobile: Getting a cancelled Postback that
相关文章
- Checking & Unchecking Checkboxes inside a JQuery M
- How to show appropriate icon on dialog box
- What are event and UI parameters in Dialog
- Open file from windows file dialog with python aut
- Android - getting an error “no application can per
- jQuery ajax call returns empty error if the conten
- Android 4.1.2 dialogs are called twice
- google map not full screen after upgrade to jquery
Try,
This plugin craftpip/jquery-confirm
was designed for mobile initially, is based on the bootstrap3 framework. Supports alerts, confirms, modals, dialogs, and many options.
Simple to use.
Supports ajax loading, CSS3 animations, Responsive, etc.
[EDIT] Detailed documentation can be found here
Features list:
I'm actively developing the plugin, please do suggest improvements and features.
Excellent code @ Peter, but not to be generating consecutive events, it might be better to use unbind (), like this:
Thanks!
This plugin for jQM will style the confirmation box with jQM styling
http://dev.jtsage.com/jQM-SimpleDialog/
EDIT : This plugin has now been supserseeded by SimpleDialog2 which can be found here:
http://dev.jtsage.com/jQM-SimpleDialog/demos2/
I had similar problem. I wanted to have easy to use function like standard
confirm()
.Since dialogs are deprecated in jquery mobile 1.4 (documentation), I decided to create my own fiddle:
}
I noticed strange behavior, when redirecting/clearing window was done on "Yes" button click. It started working in afterClose event, so that's why it's a bit complicated.
Here is a jsfiddle demo
Yes, the plugin is nice. However, if you don't need the full functionality, it's still much lighter in weight to roll your own simple dialogs. I use this:
And this:
You can use these wherever you need the confirmation dialog: