I am trying to make a link that can open a page into dialog pop up box from a link typed in on the URL in a browser. Everywhere I see just shows this code " <a href="foo.html" data-rel="dialog">Open dialog</a>" This doesnt work for me as the browser would already have to be on the website.
I am using the query mobile multipage template like the code below. I am trying to populate page two with content once it loads. What event should I use to do this? I would like it attached when it loads the second page. I currently have the populate functions attached to the link on page 1. I have tried focus but it doesnt seem to have the effect I want.