我正在尝试使用jquery mobile创建聊天应用程序,手机差距。在我的index.html页面仍在加载,当我试图点击登录或注册按钮时,它显示错误加载页面。 这里是我的index.html代码
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>AhaConnect</title>
<script type="text/javascript" charset="utf-8" src="cordova-2.4.0.js"></script>
<script type="text/javascript" src="js/home.js"></script>
<link rel="stylesheet" href="js/jquery.mobile-1.3.0-rc.1.min.css" />
<link rel="stylesheet" href="js/jquery.mobile-1.3.0-rc.1.css" />
<link rel="stylesheet" href="css/indexstyle.css"/>
<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/jquery-1.9.1.js"></script>
<script src="js/jquery-migrate-1.1.0.js"></script>
<script src="js/jquery.mobile-1.3.0-rc.1.min.js"></script>
<script src="js/jquery.mobile-1.3.0-rc.1.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="content">
<h2 id="h2" data-transition="flip">AhaConnect</h2>
</div>
<div data-role="footer" data-position="fixed">
<a href="homepage.html" data-role="button" data-inline="true" data-transition="flip">Login</a>
<a href="homepage.html" style="margin-top: -3px;" data-role="button" class="ui-btn-right" data-inline="true" data-theme="b" data-transition="flip">Signup</a>
</div>
</body>
</html>
屏幕截图:https://docs.google.com/file/d/0B7s0BYiHsMBtN3dxVExoejJORlU/edit?usp=sharing