在同一HTML中将Jquery mobile添加到一个Div中,而不添加到另一个Div中

在同一HTML中将Jquery mobile添加到一个Div中,而不添加到另一个Div中,jquery,jquery-mobile,scope,Jquery,Jquery Mobile,Scope,我只需要页面中的一些元素就可以使用jquery样式 代码 页面标题 //组件不应该有jquery移动样式CSS //这里只有Jquery内容 你知道我怎样才能做到这一点吗。。提前谢谢可能重复您刚才问的问题。 <!DOCTYPE html> <html> <head> <title>Page Title</title> <meta name="viewport" content="width=d

我只需要页面中的一些元素就可以使用jquery样式

代码


页面标题
//组件不应该有jquery移动样式CSS
//这里只有Jquery内容

你知道我怎样才能做到这一点吗。。提前谢谢

可能重复您刚才问的问题。
<!DOCTYPE html> 
<html> 
    <head> 
    <title>Page Title</title> 

    <meta name="viewport" content="width=device-width, initial-scale=1"> 

    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.js"></script>
</head> 

<body>
<div id="noJquery">
 //components should not have jquery mobile styling CSS
</div> 
<div data-role="page">
  //Only Jquery contents here
</div>
</body>
</html>