I’ve created a mobile app based on the jquery mobile framework.
I’m using wordpress as cms.
All seems to work fine. But after a while of navigating backwards and forwards round the app, suddenly the buttons become unclickable with this javascript error.
JavaScript Error on Line 16
http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js
JavaScript execution exceeded timeout
What does this error roughly mean and why does it not happen instantly? And how come its an error within jQuery it’s self, never seen this happen before?
My experience with javascript errors are if it’s wrong/broken in the first place then you get an error straight away.
The error kicks in mainly when navigating through archive pages that contain big lists.
I understand its almost impossible to say what it is if you can’t see the app or play with it – but has any one experienced similar java script errors?
When the error sometimes appears, you can still use the app, but sometimes it locks it up completely.
Any thoughts would be most helpful – as I’m desperately needing a fix
Also I’m viewing it Mobile Safari on iPhone 3GS
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_5 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Mobile/8L1
Feels like it’s a Safari mobile bug.
Just been getting the same javascript exception with a couple of other popular, javascript intensive, libraries on iOS5.
The exception occurs occasionaly when I use the scrollability library and pdf.js. Even the example pages for these libraries cause my iPad every now and again to cast this exception.
I’m using an iPad 2 with the first stable iOs 5 release.
User Agent: Mozilla/5.0 (iPad; CPU OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3