摘要:一、firefox不支持innerText二、firefox下的window.location.reload(true)会引起post请求,ie不会。 用window.location.replace(window.location.href),强制加载页面两者都不会引起post请求。三、firef...
阅读全文
posted @ 2010-09-15 15:17
|
|||
搜索 |
随笔分类 - js
摘要:一、firefox不支持innerText二、firefox下的window.location.reload(true)会引起post请求,ie不会。 用window.location.replace(window.location.href),强制加载页面两者都不会引起post请求。三、firef...
阅读全文
posted @ 2010-09-15 15:17
摘要:XMLHTTPRequest.getResponseHeader("Content-Type")的返回值 如果后台使用C#输出文件时同时指定文件类型和编码,例如: Response.ContentType = "text/xml";Response.Charset = "UTF-8"; 则XMLHT...
阅读全文
posted @ 2010-06-23 13:19
摘要:void void 运算符对任何值返回 undefined。该运算符通常用于避免输出不应该输出的值,例如,从 HTML 的 元素调用 JavaScript 函数时。要正确做到这一点,函数不能返回有效值,否则浏览器将清空页面,只显示函数的结果。例如:Click me 如果把这行代码放入 HTML ...
阅读全文
posted @ 2010-05-21 17:19
|
||
Powered by:
|