Friday, 15 July 2011

javascript - error jquery mobile -



javascript - error jquery mobile -

i download jquery mobile 1.2.0

http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js

but have error uncaught typeerror: cannot read property 'msie' of undefined

i have same error when run project on android device phonegap

<!doctype html> <html> <head> <title>phonegap</title> <link rel="stylesheet" href="css/jquery.mobile-1.2.0.min.css" /> <link rel="stylesheet" href="css/jquery.mobile.structure-1.2.0.min.css" /> <link rel="stylesheet" href="css/jquery.mobile.theme-1.2.0.min.css" /> </head> <body> <h1>hello phonegap !!!</h1> <script type="text/javascript" charset="utf-8" src="javascript/cordova-2.4.0.js"></script> <script type="text/javascript" charset="utf-8" src="javascript/jquery/jquery-1.9.1.min.js"></script> <script type="text/javascript" charset="utf-8" src="javascript/jquery/jquery.mobile-1.2.0.min.js"></script> </body> </html>

thanks

according page: http://jquerymobile.com/test/#/test/docs/about/getting-started.html

"jquery mobile 1.3 rc1 (1.3.0-rc.1) works versions of jquery core 1.7.0 1.9.0."

so guess need downwards jquery core 1.9.0, @ least, if upgrade jquery mobile 1.3 rc1.

looks 1.8.2 jquery 1.2.0: http://jquerymobile.com/demos/1.2.0/

javascript jquery-mobile

No comments:

Post a Comment