I have a multipage jquery document. All is working smoothly, except that every now and again, while navigating between pages, a page will simply display as a white screen. The footer and header will display, but nothing in between.
My guess is that a specific event, is causing the error, or will at least point me in the right direction. How can I get jQuery to write out every event as it’s happening to the browser console.log?
jQuery Mobile does not have a built in switch to enable debugging on all JQM events. The site recommends the uncompressed scripts for use with debugging, but that doesn’t exactly make it easy for logging everything in the console.
It may help to bind to every event on the page or at least the
$.mobile.baseobject. Check out this post for how to do that:How can I bind all events on a DOM element?