PhoneGap Desktop Page Not Updating?

If you find that changes you are making to your PhoneGap application are not being replicated to your browser session, there might be a problem with the JavaScript in your project. I recently experienced this when I noticed that changes (such as title of my webpage) would flicker onto the screen and then disappear, returning me to the state the mobile application was in before. The solution: start disabling chunks of JavaScript, starting with statements like this:

1
<!--script src="js/jquery.mobile-1.4.5.min.js"></script-->

That will help you narrow down the problem whereupon you can start looking for errors.


Hi! Did you find this useful or interesting? I have an email list coming soon, but in the meantime, if you ready anything you fancy chatting about, I would love to hear from you. You can contact me here or at stephen ‘at’ logicalmoon.com