JS教程:window.location使用方法的区别介绍

时间:2013-10-04    点击:86   
window.location.href=&http://www.webjx.com/javascript/ldquo;url”:改变url地址;
window.location.replace(“url”):将地址替换成新url,该方法通过指定URL替换当前缓存在历史里(客户端)的项目,因此当使用replace方法之后,你不能通过“前进”和“后 退”来访问已经被替换的URL,这个特点对于做一些过渡页面非常有用!
window.location.reload():强制刷新页面,从服务器重新请求!
jquery next nextAll nextUntil siblings的区别介绍
jquery中animate动画积累的解决方法
jQuery.fn和jQuery.prototype区别介绍
javascript 函数声明与函数表达式的区别介绍
javascript自启动函数的问题探讨
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved