I have a list of "people" and the user can click on the link in the list to get a #details page. I want to provide a "next" button at the bottom of the #details page so the user does not have to go back to the list every time but can just page thru the list. I am dynamically creating the content of the #details page during the beforepageshow event. However the beforepageshow event is never fired when linking to the #details page and already being on the #details page.
Basic dialog questions that the example docs do not seem to answer.
I am using all local pages such as href="#dialog".
1) What should be the pattern for returning back to the invoking page from the dialog the response of which button has been clicked to dismiss the dialog - ie OK or Cancel?
2) What if the dialog contains form data then how should the invoking page insert data into the form and get back out the answer?