window.location.reload

强制刷新页面,从服务器重新请求!

 

window.location.reload():

 

点击“退出”,刷新页面

<span style="cursor:pointer;" onclick="$.post('/Home/Logout', {},function(){window.location.reload();})"title="退出">退出</span>

 

posted @ 2015-01-07 16:43  wiming  阅读(145)  评论(0编辑  收藏  举报