Jquery mobile jQuery移动模板
我看不出我做错了什么-我正在尝试创建一个基准jQuery移动模板。查看Firefox中的css面板,没有呈现cssJquery mobile jQuery移动模板,jquery-mobile,Jquery Mobile,我看不出我做错了什么-我正在尝试创建一个基准jQuery移动模板。查看Firefox中的css面板,没有呈现css <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="utf-8"> <meta name="author" content="Phillip Senn"> <meta name="viewport" content="width=device-width, i
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="author" content="Phillip Senn">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery Mobile template</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css">
<script>
$(document).bind("mobileinit", function() {
$.mobile.ajaxEnabled = false;
});
</script>
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>
</head>
<body>
<div data-role="page" id="myPage">
<div data-role="header">
<h1>jQuery Mobile Template</h1>
</div>
<div data-role="content" id="myContent">
My Content
</div>
<div data-role="footer">
<h4>Copyright © 2012 Your name here</h4>
</div>
</div>
</body>
</html>
jQuery移动模板
$(document).bind(“mobileinit”,function(){
$.mobile.ajaxEnabled=false;
});
jQuery移动模板
我的内容
版权及副本;这里有你的名字吗
它只是没有呈现为jQuery移动页面。您的代码看起来不错,我认为这是最新jQM版本的问题
- (使用最新的链接库)
- (使用1.0发布的链接库)