卸载jquery post()调用的内部页面 [英] Unload inner pages called by jquery post()
本文介绍了卸载jquery post()调用的内部页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的内容页面是" Mainpage.aspx ",它通过 jquery post()从"ProcessingPage.aspx"获取数据到 MainPage.aspx 的DIV标记中. 方法. 但是,当我单击母版页中的 注销 链接时,它会加载MainPage.aspx,但显示 ProcessingPage.aspx ,我也希望将其卸载.
My Contentpage is "Mainpage.aspx" which gets data from "ProcessingPage.aspx" into a DIV tag of MainPage.aspx via jquery post() method. But when I click to the Logout link from my Master page, then it uloads MainPage.aspx but displays ProcessingPage.aspx, which I want should also get unloaded.
推荐答案
,您可以在注销时尝试从MainPage.aspx
中的div
中删除html
.像
you can try removing html
from the div
in MainPage.aspx
on logout. something like
$('#parent_div_id').html('');
它将删除从ProcessingPage.aspx
这篇关于卸载jquery post()调用的内部页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文