本文介绍了未捕获的错误:SECURITY_ERR:DOM当我尝试设置cookie时出现异常18的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用设置cookie时,Chrome的开发人员工具窗口中出现以下错误: a> jQuery插件:
$ b

这个错误意味着什么,我该如何解决它?当我使用 jQuery插件时,我得到了同样的错误。


file:// URI方案在本地文件上使用它,它不能设置Cookie。将它放在本地服务器上,以便您可以使用 http:// localhost


I get the following error in Chrome's developer tools window when I try to set a cookie using this jQuery plugin:

What does this error mean and how can I fix it? I get the same error when I use this jQuery plugin.

解决方案

You're most likely using this on a local file over the file:// URI scheme, which cannot have cookies set. Put it on a local server so you can use http://localhost.

这篇关于未捕获的错误:SECURITY_ERR:DOM当我尝试设置cookie时出现异常18的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 01:52
查看更多