unspecified Error of js on windows2000 and ie6 to try to save a File.
来源:互联网 发布:淘宝网知识产权申诉 编辑:程序博客网 时间:2024/06/05 00:54
客户测试的时候,在win 2K and ie6环境下,当生成report的时候,提示框提示是open or save的时候,客户open就没有问题,如果save就出现了一个unspecified Error(js)--错误,找来找去都不能发现问题的所在,通过debug工具,发现一直提示定位错误在document上面,怀疑是document在“save”后丢失,找不到这个document,最后,尝试把document定义为 全局变量,这样 问题就解决了。
example:
from :
function ××(){
var obj=document.getElementById("aa");
}
to :
var domObj=document;
function ××(){
var obj=domObj.getElementById("aa");
}
- unspecified Error of js on windows2000 and ie6 to try to save a File.
- 【vim】save part of file to a seperate new file
- Save BST to a file
- How to resize a *.jpg image and save the result to a file
- android download file and save to sdCard
- I was unable to save the HTTP result to file because of a I/O error: Server redirected too many tim
- GDB : save debug info to a file
- Linux command: save the output of a command to a file
- how to use Properties and File to Save Data
- How to dd a remote disk using SSH on local machine and save to a local disk
- Error message when you try to save a table in SQL Server 2008: "Saving changes is not permitted"
- autohotke Save any bitmaps on the clipboard to file
- How to Output a List of Files to a File and Sort Them in Linux
- How to save a NSImage as a new file
- android studio:Error:Dependency XXX:common:unspecified on project resource resolves to an APK
- Android Studio解决Error:Dependency Puddings:videosdk1218:unspecified on project app resolves to an APK
- Give a try to Python Flask and deploy it on VPS!
- PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
- GCC-3.4.6源代码学习笔记(115)
- 一些有用的文章(Symbian)
- [程序员工具箱] StyleCop - C#代码规范检查工具
- Studying note of GCC-3.4.6 source (115)
- 如何实现 asp 上传产品图片加水印功能
- unspecified Error of js on windows2000 and ie6 to try to save a File.
- 全局变量和函数变量 var
- 如何实现 asp 批量上传图片?
- 初识JQuery
- Oracle RAC学习笔记:基本概念及入门
- linux 内核最为经典的容器操作
- 耕书录之CSS篇-《精通CSS-高级Web标准解决方案》
- 探求技术是否能改变我们现在的处境
- eMule源码的编译