2015-09-29 72 views
0

我开始学习jQuery Mobile。 我创建了在Firefox中正常工作的基本网站。 但是,它不适用于Google Chrome。它卡在“加载”中。 我该如何解决这个问题?我使用最新的稳定Firefox和Chrome。jQuery Mobile - Chrome卡住加载

http://s12.postimg.org/mfdcx8mu5/chrome.png

的源代码:接口:

<!DOCTYPE html> 
<html> 
<head> 
<meta charset="UTF-8"> 
<title>Title of the document</title> 
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" /> 
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> 
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script> 
</head> 
<body> 
Content of the document...... 
</body> 
</html> 
+0

向我们展示“文档的内容...”标记和脚本 – ezanker

+0

没有什么,它只是“文本”...我从这里拿走它:http://www.w3schools.com/html/html5_intro .asp只有“自定义部分”是jQuery手机脚本... – Millan

+0

以下是您在jsBin中的确切代码:https://jsbin.com/kojama/edit?html,output它在Google Chrome中运行良好。你能否重现你的问题? – ezanker

回答

0

当您试图通过 “/// ...文件” 打开本地HTML文件它发生。一旦您将html文件上传到任何http服务器,问题就消失了。