0
我正在使用jQuery手机。并且在它请求url之前,锚标签总是添加一个#值。所以网站的第一个默认页面运行,然后在dom中添加下一页。但在我的情况下,锚标签不添加哈希值。我如何添加它们。Jquerymobile锚标签问题
这是我的网页的头部分
<head runat="server">
<title>Index</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
<link href="/Content/style.css" rel="stylesheet" type="text/css" />
</head>
Thanx提前
不使用任何rel属性 –