I am using the web popup in my app. When the web popup loads, it loads a page on my server that has a few sections with links to other websites. A user can expand different sections, paginate between the links, etc., this is all handled by using javascript.
Whenever I click a link, it opens the new page just fine (it appears to be a separate window from the original one that was loaded from showWebPopup). I then click “back” to get back to the original page I open in my app, but when it loads the page is completely reset - any sections that were expanded, or paginated are in their original state (the same as when you first load the app).
If I open the same page in my phone’s default browser (which is what showWebPopup supposedly uses), it doesn’t do that. I can expand sections, paginate, click a link and when I hit “back” the sections are all still expanded or paginated - in the same state they were before I clicked the link.
I was thinking that maybe if I could force the browser to open the links in the same window, the state would be maintained, but no matter what I define in my HTML (I explicitly added target="_self") it still opens it in a new window.
Does anyone know why this is happening or know of a way around it? I’m not sure why I’m getting different behavior from the browser just because it’s being opened by the app in one case.
[import]uid: 25321 topic_id: 36275 reply_id: 336275[/import]