Mo3z
Mo3z

Reputation: 2128

JQuery Mobile panel still not compatible with JQuery 2.0.3?

I am having a problem while loading JQM panels. I am using Jquery v2.0.3 and JQM v1.3.2. JS console reports this as the problem:

Uncaught TypeError: Cannot read property 'options' of undefined line# jquery.mobile-1.3.2.js:10330

I googled and found a few users complaining about panel being incompatible with Jquery v2.0. But that was 5 months ago. Do you know if it is still incompatible or am I doing something wrong? I am fairly new to JQM. I have put together an example here which uses Jquery 2.0.2 which demonstrate the problem described above. This is the same example with Jquery 1.9.1 and it works fine.

I would really like to use JQuery 2.0.2.

Here is how I am instantiating the panels

<div data-role="panel" id="left_panel" data-position="left" data-display="overlay" data-theme="a" data-swipe-close="false">
        <a href="#" data-rel="close" data-role="button" data-mini="true" data-inline="true" data-icon="delete" data-iconpos="right">Close</a>
</div><!-- /panel -->

I would appreciate any pointer. Thank you!!

Upvotes: 2

Views: 662

Answers (1)

Red2678
Red2678

Reputation: 3287

jQuery Mobile 1.4.+ supports all jQuyer version now :D

http://jquerymobile.com/

jQuery 1.8 - 1.10 / 2.0

Upvotes: 0

Related Questions