binding pageshow events

binding pageshow events

Hi,

I'm developing an healthcare analysis phonegap app. in the app i have a list of multiple files which I need to open read, analyse and display. at the moment I have a list and each item has href="#analyse", than in the code I have a click listener which triggers the analysis on chosen file and than it is displayed.

My problem is that the analysis page displays just after the calculation is done which can be couple of seconds. What I want is to load "#analysis" page before the calculation is started.  something like callback in changePage would do the job.