I am creating a mobile application using jquery-mobile v1.1 and I am throwing a DOM Exception 12 error (exception) when switching to another page in the application. The offending block starts at line 5197 in the jquery.js file and looks like this:
try { // This should fail with an exception // Gecko does not error, returns false instead matches.call( document.documentElement, "[test!='']:sizzle" ); } catch( pseudoError ) { pseudoWorks = true; }
The page registers that an error has occurred, but it does not block any actions, and everything works as expected, but the message "error load page" appears briefly on the screen.
Protest:
* The error does not get into Firefox, but it is thrown into Chrome and Mobile Safari.
Bobby source share