So immediately on my startpage i fire off a popup like this:
$( '#startpage' ).live( 'pageshow',function()
Looks nice overlaying the startpage. But when i close it, it doesn´t go back to the page it is overlaying. It goes back one more page exiting my web root. Why is this happening? I´m using the following html code:
You need to make the popup separate from the start page, as it is, the popup is part of the start page and that is confusing. Remember start page (data-role="page") and popup(data-role="popup") are pages.