标签:
【】局部刷新:
//页面加载时绑定按钮点击事件$(function(){    $("#按钮id").click(function(){        refresh();    });});//点击按钮调用的方法function refresh(){    window.location.reload();//刷新当前页面.        //或者下方刷新方法    //parent.location.reload()刷新父亲对象(用于框架)--需在iframe框架内使用    // opener.location.reload()刷新父窗口对象(用于单开窗口  //top.location.reload()刷新最顶端对象(用于多开窗口)}Javascript刷新页面的几种方法:
history.go(0)location.reload()location=location location.assign(location)document.execCommand(‘Refresh‘)window.navigate(location)location.replace(location)document.URL=location.href标签:
原文地址:http://www.cnblogs.com/moyuling/p/5011636.html