Forum Post: RE: Using a popup as a confirmation dialog

Status
Not open for further replies.
E

egarcia

Guest
Hello, Just some feedback. The JQuery Mobile Dialogs are deprecated in 1.4.0 and have been removed in 1.5.0 and popups seem to be the new approach: api.jquerymobile.com/dialog api.jquerymobile.com/popup demos.jquerymobile.com/.../popup The popups support in the Mobile App Builder is based on jQuery Mobile Popups. A suggestion to what you have is that you could pass the callback as a parameter to your DisplayQuestion function. Depending on your particular needs, you could also use PhoneGap's notifications: docs.phonegap.com/.../cordova_notification_notification.md.html The benefit of using PhoneGap's notifications is that the dialogs would have the look and feel of the platform and you can control the title of the dialog (which you cannot do if using JavaScript's alert, confirm, prompt). The disadvantage is that you would need to alternate code for when testing the app from a web browser or running the app as a web app. I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Top