jquery返回上一页面

window.location.href=document.referrer; 返回然后刷新

window.history.back(-1); 返回不刷新