I’m trying to use changePage function in jQuery Mobile, but I want the page to open as a popup dialog.
I tried this:
$.mobile.changePage('#confirmbox', 'pop');
That’s supposed to work according to the docs here: http://jquerymobile.com/demos/1.0a4.1/docs/api/methods.html
But it doesn’t. I still get a slide transition… What am I doing wrong?
You were close. This is how you perform a changePage with a transition.
Edit: I have no idea why the way the documentation does it doesn’t work. It should.