`
wyj_study
  • 浏览: 79092 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

在frame中访问父窗口中的变量时,无法访问

    博客分类:
  • js
阅读更多
在frame中访问父窗口中的变量时,无法访问报错如下:

Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match.

主要原因是:文件之间的操作是按照跨域处理的,把文件放在web容器里
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics