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
pagebeforeshowand all my data is reloaded and previously made changes lost.
pagebeforeshowafter coming back from a long select menu (dialog)?
pagebeforeshowto detect a previous dialog:
prevPageis 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.