我们可以使用http重定向来跳转:
window.location.replace("http://www.jb51.net");
使用href来跳转
window.location.href = "http://www.jb51.net";
使用jQuery的属性替换方法
$(location).attr('href', 'http://www.jb51.net');
$(window).attr('location','http://www.jb51.net');
$(location).prop('href', 'http://www.jb51.net');