Summary on 20080717: web page refresh
来源:互联网 发布:增霸卡网络同传教程 编辑:程序博客网 时间:2024/06/05 02:38
These days I'm working on web page refresh, and find that there are lots of ways to refresh page:
1. window.location.reload(true/false)
2. window.location.href = window.location.href(url)
3. window.location.replace(URL)
4. document.execCommand('Refresh');
Why when refresh page, there will be confirmation window to ask for the confirmation:
http://hi.baidu.com/ouanan/blog/item/cdace608828832900b7b8226.html
Note that window.location.href = url won't work well on IE6 and Maxthon.
but window.location.reload() won't have this problem
Difference between reload and replace:
http://www.110xs.com/archiver/?tid-1592/
In short, the difference is that reload(true/false)will get value from server or cache depending on the value of the parameter.
however, for the replace method,IE will use the url to replace the content in cache,so after using this method, can't use back/forward button of IE to navigate between web page.
1. window.location.reload(true/false)
2. window.location.href = window.location.href(url)
3. window.location.replace(URL)
4. document.execCommand('Refresh');
Why when refresh page, there will be confirmation window to ask for the confirmation:
http://hi.baidu.com/ouanan/blog/item/cdace608828832900b7b8226.html
Note that window.location.href = url won't work well on IE6 and Maxthon.
but window.location.reload() won't have this problem
Difference between reload and replace:
http://www.110xs.com/archiver/?tid-1592/
In short, the difference is that reload(true/false)will get value from server or cache depending on the value of the parameter.
however, for the replace method,IE will use the url to replace the content in cache,so after using this method, can't use back/forward button of IE to navigate between web page.
- Summary on 20080717: web page refresh
- javascript refresh page
- refresh a page
- Page refresh button
- About Create the Chart on web page.
- Refresh a GridView control on the parent page, from a pop up window
- Summary on 20080716: close the current page through backend bean method
- JQuery AJAX Partial Page refresh
- Jim Gray Summary Home Page
- Can not copy things on the web page
- summary on DB_logging_handle
- Summary on webservice
- Summary on Programming
- Internet Explorer 1 hour page refresh
- How to deploy a .Net assmebly for COM use through CAB on Web Page (转)
- How to deploy a .Net assmebly for COM use through CAB on Web Page
- javascript refresh page 几种页面刷新的方法
- javascript refresh page 几种页面刷新的方法javascript
- C/C++ 两大GUI库Qt & GTK比较
- NetBeans IDE 6.5 M1开始完全支持PHP
- powerbuilder程序如何对抗shudepb?pb防反编译
- DNS严重漏洞曝光 谁将面临真正的风险?
- 第二人生的源码分析(107)脚本的词法分析(5)
- Summary on 20080717: web page refresh
- 手机基本功能测试—通话记录测试
- 深圳市翔隆塑胶纤维制品厂
- 手机基本功能测试—短信息
- 市场观察:如何让桌面Linux为公司所用
- Struts/Hibernate/Spring+Ajax集成小例子
- 客户需要怎样的服务
- C#学习1——继承和接口
- GCC参数详解