Powered by Blogger.

Incompatiable jQuery Mobile and UI


The only thing relevant is an order, load jQM after jUI, the same thing goes for CSS files:
<!DOCTYPE html>
<html>
<head>
  <title>Demo</title>
  <meta name="viewport" content="width=device-width"/>
  <link rel="stylesheet" href="your theme.css" />    
  <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
   src="http://code.jquery.com/jquery-1.10.1.min.js">
   src="http://code.jquery.com/ui/1.10.3/jquery-ui.js">    
   src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js">
</head>
<body>
    
data-role="page" id="index"> Hello
</body> </html>
Note: if still the problem persists check the versions jQuery Mobile and jQuery-UI versions that you are using

No comments