解决方案:[Dreamweaver]在onLoad运行_onOpen.htm时,发生了以下JavaScript错误

前段时间Dreamweaver不知道为何在软件启动或打开文件时报错,提示信息如下:

在onLoad运行_onOpen.htm时,发生了以下JavaScript错误:
在文件“_onOpen”中:
onOpen is not defined

javascript-error

由于点下“确定”就完事,并不影响其他功能,也就一直懒得管它。
今天突然觉得这样搞下去很烦!还是解决了好。

方法很简单,关掉Dreamweaver,进入下面这个目录,删掉WinFileCache开头的dat文件即可

Windows XP

C:\Documents and Settings\AmirFish\Application Data\Adobe\Dreamweaver CS4\zh_CN\Configuration

Windows 7

C:\Users\AmirFish\AppData\Roaming\Adobe\Dreamweaver CS4\zh_CN\Configuration

注:

  • 上述路径中的 AmirFish 是我的系统当前用户。你要进入你对应的目录找咯。
  • 有的系统没有 WinFileCache 开头的,是以 FileCache 结尾的dat文件。

winfilecache

无觅相关文章插件,快速提升流量

This entry was posted in Microsoft and tagged , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">