Tuesday, 17 September 2013

JQuery Mobile and Firefox don't play well together?

JQuery Mobile and Firefox don't play well together?

Having some teething issues with jQuery Mobile. Was wondering if anybody
else is experiencing a smattering of errors when they're using Firefox
(desktop) and have the jQuery Mobile script includes in their <head> like
so:
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script
src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
In both Chrome and Firefox I get a host of CSS errors, which I presume are
negligible. But in Firefox I get a couple of JS errors on top of that,
which also seems to break my page (responsive elements not rendering like
they would when I remove the jQuery Mobile script).
The JS errors:
Empty string passed to getElementById(). @
http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.js:11100
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. @
http://code.jquery.com/jquery-1.9.1.js:3346
I know the errors seem pretty verbose, but I'm not familiar with bloaty
javascript plugins and their policy on graceful degradation. Anyone else
having this issue?

No comments:

Post a Comment