javascript - Cordova JQuery Error VS2015: Exception: Cannot call method 'concat' of undefined -


i'm getting error in vs when load html jquery.mobile:

exception: cannot call method 'concat' of undefined

jquery.mobile-1.4.5js

i followed tutorial: https://wordpress.org/support/topic/-this-xml-file-does-not-appear-to-have-any-style-information-associated getting started jquery.

this example of html throwing exception:

<!doctype html> <html> <head>     <!--         customize content security policy in meta tag below needed. add 'unsafe-inline' default-src enable inline javascript.         details, see http://go.microsoft.com/fwlink/?linkid=617521     -->     <!--<meta http-equiv="content-security-policy" content="default-src 'self' data: gap: http://api.openweathermap.org https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">-->      <meta name="format-detection" content="telephone=no">     <meta name="msapplication-tap-highlight" content="no">     <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">     <link rel="stylesheet" href="css/jquery.mobile-1.4.5.min.css" />     <link rel="stylesheet" type="text/css" href="css/bb_performance_test_page.css">     <title>performance</title> </head> <body>     <div data-role="header" class="header">         <h1 id="app-title">performance</h1>     </div>      <button name="bb_prime_button"             onclick="bb_prime_button_click_event()">     prime     </button>     <div class="prime">         nodata     </div>     <div class="time">         nodata     </div>      <script src="scripts/jquery-3.1.0.min.js"></script>     <script src="scripts/jquery.mobile-1.4.5.min.js"></script>     <script type="text/javascript" src="cordova.js"></script>     <script type="text/javascript" src="scripts/platformoverrides.js"></script>     <script type="text/javascript" src="scripts/bb_performance_test_page.js"></script>  </body> </html> 

i'm using visual studio 2015, hybrid (cordova) app project, jquery3.1.0 , jquery.mobile.1.4.5

some functions of jquery.mobile-1.4.5 not compatible jquery-3.1.0 .use jquery-2.2.4 version . can download here link


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -