Reputation: 83
sorry if my english bad when I create a dialog popup with jquerymobile, I get a transparent background, but when I touched it, causing the closure of the dialogue, how do I make the dialog will not close when I touch the background until I touch the cancel button? thank you
for example login form dialog button in demos jquerymobile http://jquerymobile.com/demos/1.2.0/docs/pages/popup/index.html
Upvotes: 0
Views: 1498
Reputation: 486
You can add data-dismissible="false" attribute as it describes in the document: http://api.jquerymobile.com/popup/#option-dismissible
Upvotes: 2
Reputation: 92805
This behavior of a jQM popup is by design.
It looks like instead of a popup you just need to use a jQM modal dialog
Upvotes: 1