Timing and Loading multiple JQM URL Pages

Timing and Loading multiple JQM URL Pages

I’m having a timing issue related to using JQM and Parse.com backend database.  I’ve read up on JQM timing docs and I’m still confused.  Could really use some help from someone who can point me in the right direction.


OK.  So, I have two separate JQM pages:


www.site.com/index

The user enters the Parse.com record identifier on the first page (index), and then presses a button which calls a function which goes out to parse.com and pulls in the data.  So, on Parse.com/SUCCESS, the Javascript function does a:


     $.mobile.changePage


And then writes the Parse.com data to “page2”.

As long as I have an


        Alert(“OK, we got your data from parse”);


Everything works OK (at lease on some browsers).  If I don’t have the alert, then it doesn’t write the data to the page.


Any help most appreciated!!!