如何让jqmodal弹窗里的链接只在弹窗里面跳转,而不是刷新整个主页。

<html>
<head>
<link href="jqModal.css" rel="stylesheet" type="text/css" />
<script src="jquery.min.js" type="text/javascript"></script>
<script src="jqModal.js" type="text/javascript"></script>
<script type="text/javascript">

$().ready(function() {
    $('#dialog').jqm();
});

</script>
</head>
<body>
view
...
<div class="jqmWindow" id="dialog">
Close



READ ME -->
This is a "vanilla plain" jqModal window. Behavior and appeareance extend far beyond this.
The demonstrations on this page will show off a few possibilites. I recommend walking
through each one to get an understanding of jqModal before using it.
</div>

</body>
</html>

jqmodal 的弹窗程序,我想点using it时的链接不要刷新整个父页面,就是弹窗里跳转。不知道有什么办法。

阅读 1.6k
1 个回答

弹窗里用iframe

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进