I am developing an app with angular js and phonegap.
I am using jquery mobile in a directive, it is for adding some animation to a notification bar. I t works well with jquery 1.8.1 but when I use jquery mobile
<script src="scripts/vendor/jquery/jquery.mobile-1.3.1.js"></script>
I get the following error:
Uncaught TypeError: Cannot set property 'mobile' of undefined jquery.mobile-1.3.1.js:26
(anonymous function) jquery.mobile-1.3.1.js:26
(anonymous function) jquery.mobile-1.3.1.js:27
(anonymous function) jquery.mobile-1.3.1.js:22
(anonymous function) jquery.mobile-1.3.1.js:24
Any suggestions?
Thanks in advance!
With jQuery-Mobile version 1.3.1, use jQuery version 1.8.3 or higher. It's recommended to use jQuery version 1.9.1.
@Omar actually you made me fix that by your comment, I left commented out:
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
Thanks!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With