jquery mobile中的Response.redirect和data rel=“back”
我正在使用asp.net webforms开发webapp。 我的问题是,当我单击“后退”按钮时,我没有获取历史记录,以下是我的代码:jquery mobile中的Response.redirect和data rel=“back”,jquery,asp.net,jquery-mobile,Jquery,Asp.net,Jquery Mobile,我正在使用asp.net webforms开发webapp。 我的问题是,当我单击“后退”按钮时,我没有获取历史记录,以下是我的代码: <div class="header" data-role="header" data-theme="f" > <div> <a class="ui-btn-left" data-theme="f" data-role="button" data-corners="true" data-
<div class="header" data-role="header" data-theme="f" >
<div>
<a class="ui-btn-left" data-theme="f" data-role="button" data-corners="true" data-rel="back"
class="ui-btn-left ui-btn ui-shadow ui-btn-up-b ui-btn-corner-all " data-shadow="true" href="#"
data-iconshadow="true" data-icon="back" data-ajax="true">Back</a>
<a class="ui-btn-right btnLogout"
href="#" data-theme="f" data-role="button" data-corners="true" id="btnLogout"
class="ui-btn ui-shadow ui-btn-up-b ui-btn-corner-all " data-shadow="true" data-iconshadow="true"
onclick="Dologout(); return false;">Logout</a>
</div>
请帮帮我 问题只出现在internet Explorer上。它与FF和chrome配合得很好。我使用会话来保存变量,并在单击“上一步”时将值还原为下拉列表
除了使用会话,我找不到其他解决方法。单击“上一步”按钮,它会清除所有内容。这是什么意思?您将重定向到哪个页面?该页面具有下拉框,其中包含搜索条件,单击“搜索”按钮,它将重定向到结果页面,因此这里是“返回”按钮,我想从结果页面返回到搜索页面。
<script type="text/javascript">
$(document).bind("mobileinit", function () {
// jQuery Mobile's Ajax navigation does not work in all cases (e.g.,
// when navigating from a mobile to a non-mobile page), especially when going back, hence disabling it.
$.mobile.ajaxEnabled = false;
$.mobile.ajaxLinksEnabled = false;
$.mobile.ajaxFormsEnabled = false;
});