Jquery mobile 添加数据rel=popup时,Jquery手机弹出空页,带圆圈
我在使用jquery mobile打开简单弹出窗口时遇到问题 当我将data rel=“popup”添加到按钮时,页面将变为空,中间有一个灰色圆圈 你知道怎么了吗Jquery mobile 添加数据rel=popup时,Jquery手机弹出空页,带圆圈,jquery-mobile,popup,Jquery Mobile,Popup,我在使用jquery mobile打开简单弹出窗口时遇到问题 当我将data rel=“popup”添加到按钮时,页面将变为空,中间有一个灰色圆圈 你知道怎么了吗 <!DOCTYPE html> <html> <head> <title></title> <meta name=viewport content="user-scalable=no,
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name=viewport content="user-scalable=no,width=device-width" />
<link rel=stylesheet href="css/jquery.mobile-1.3.2.css" />
<script src="js/jquery-1.6.1.min.js"></script>
<script src="js/jquery.mobile-1.3.2.js"></script>
</head>
<body>
<div data-role=page id=win1>
<div data-role=header>
<h1></h1>
</div>
<div data-role=content>
xxxxxxx
</div>
<div data-role="footer" class="ui-bar">
<a href="#popupBasic" data-role="button" data-rel="popup" data-icon="plus">My button</a>
</div>
<div data-role="popup" id="popupBasic">
<p>This is a completely basic popup, no options set.<p>
</div>
</body>
</html>
xxxxxxx
这是一个完全基本的弹出窗口,没有设置选项。
如果您使用的是旧版本的jquery,请使用1.9。这就是答案。谢谢