在内嵌的iframe里获取父页的文档对象时,我们一般都会使用parent.document,本地测试的时候你用IE的话,很正常,但是使用firefox或者chrome之类的话,你会发现通过parent.document来获取的时候,会出错,纠结了好久,后来才想起以前遇到这个问题,用IIS模拟访问网页,OK,正常通过

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-15
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案