//div的局部刷新$(".dl").load(location.href+" .dl");//全页面的刷新方法window.location.reload()刷新当前页面.parent.location.reload()刷新父亲对象(用于框架)opener.location.reload()刷新父窗口对象(用于单开窗口)top.location.reload()刷新最顶端对象(用于多开窗口)
本文共 249 字,大约阅读时间需要 1 分钟。
//div的局部刷新$(".dl").load(location.href+" .dl");//全页面的刷新方法window.location.reload()刷新当前页面.parent.location.reload()刷新父亲对象(用于框架)opener.location.reload()刷新父窗口对象(用于单开窗口)top.location.reload()刷新最顶端对象(用于多开窗口)
转载于:https://www.cnblogs.com/zpblogs/p/9558167.html