将Jquery移动设备添加到一个Div,而不是添加到同一个HTML中的其他设备

时间:2014-01-17 11:44:14

标签: jquery jquery-mobile scope

我只需要在页面中使用一些元素来设置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>

任何想法我怎么能实现这一点..提前谢谢

0 个答案:

没有答案