Why, when I change of page, it comes back automaticaly to the previous page

Why, when I change of page, it comes back automaticaly to the previous page

Dear All,
I am building a jquerymobile web site with Phonegap.

I notice the when I try and play with my application, after going form pages to pages it make an issue.
After a while, and I do not why, the prvious page is displayed.

For exemple, from my profile page, when I click to a contact link, the profile page come back.
If from the prifle page, I click again to the contact link (or to some other link), it move to the contact link and immediately, it returns to the profile page.

It does not matter, if it is from the profile page, or from another page.
It happens from wathever pages....

Do you have an idea, why?

For most of the page, I call it like this:
  1. $('#home').live("pagebeforeshow", function() {...code...}
  2. $('#profile').live("pagebeforeshow", function() {...code...}
  3. $('#info').live("pagebeforeshow", function() {...code...}
  4. $('#map').live("pagebeforeshow", function() {...code...}
  5. $('#contact').live("pagebeforeshow", function() {...code...}
Any suggestion will help!!

Cheers and happy Christmas....

















    • Topic Participants

    • forum