Javascript Phonegap iOS jquery固定标头不工作

Javascript Phonegap iOS jquery固定标头不工作,javascript,jquery,ios,xcode,cordova,Javascript,Jquery,Ios,Xcode,Cordova,我刚刚开始在phonegap/xcode上编写我的第一个iOS应用程序。 我目前的phonegap版本是3.1.0,xcode是5.0 由于我想实现一些jquery移动功能,比如固定页眉/页脚,我已经在index.html中实现了这些脚本,但仍然无法工作 以下是我的固定页眉/页脚代码: CSS: index.html: <html> <head> <script src="js/jquerymobile.js"></script> <scri

我刚刚开始在phonegap/xcode上编写我的第一个iOS应用程序。 我目前的phonegap版本是3.1.0,xcode是5.0

由于我想实现一些jquery移动功能,比如固定页眉/页脚,我已经在index.html中实现了这些脚本,但仍然无法工作

以下是我的固定页眉/页脚代码:

CSS:

index.html:

<html>
<head>
<script src="js/jquerymobile.js"></script>
<script src="js/jquerymobile-1.3.2.js"</script>
<script src="js/jquery.mobile-1.3.2.min.js"</script>
</head>
<body>
<div data-role="topbar" data-position="fixed" data-tap-toggle="false"></div>
</body>
</html>


您必须在jquery mobile之前导入jquery,记住,要使用jquery mobile,它必须是2.0的早期版本。

Hi,感谢您的回复!如何导入以及必须导入哪些jquery文件?jquery缺失:css也缺失
<html>
<head>
<script src="js/jquerymobile.js"></script>
<script src="js/jquerymobile-1.3.2.js"</script>
<script src="js/jquery.mobile-1.3.2.min.js"</script>
</head>
<body>
<div data-role="topbar" data-position="fixed" data-tap-toggle="false"></div>
</body>
</html>