jquery刷新页面的实现代码(局部及全页面刷新)

局部刷新: 

这个方法就多了去了,常见的有以下几种; 

$.get方法,$.post方法,$.getJson方法,$.ajax方法如下 

前两种使用方法基本上一样 

下面介绍全页面刷新方法:有时候可能会用到 
window.location.reload()刷新当前页面. 
parent.location.reload()刷新父亲对象(用于框架) 
opener.location.reload()刷新父窗口对象(用于单开窗口) 
top.location.reload()刷新最顶端对象(用于多开窗口)

原文地址:https://www.cnblogs.com/dongyu666/p/6835472.html