Response title
This is preview!




pagebeforeshow) I fill the form with data that comes from an id. Everything works great, until I have a select menu that doesn't fit the screen and transforms in a so called dialog page. jQuery Mobile works great in that way, until I choose an item and I get back to my form page. Which then is called by pagebeforeshow and all my data is reloaded and previously made changes lost.pagebeforeshow after coming back from a long select menu (dialog)?pagebeforeshow to detect a previous dialog:if(options.prevPage.is(":jqmData(role='dialog')")) return;
prevPage
is an argument from pagebeforeshow, just as the documentation says.
Yes, that's why I suggest using a more specific selector.My previous solution will fail if you came from a normal dialog, not long select menu.
Right, and that is why I'm starting this question...Yes, that's why I suggest using a more specific selector.
What, you can't add a class or ID to your menu? (I'd suggest a class.)
I can't any difference between a normal dialog and a long select menu.
© 2012 jQuery Foundation
Sponsored by
and others.
