“Access is denied” error on accessing iframe document object

后端 未结 7 1289
生来不讨喜
生来不讨喜 2020-12-05 02:35

For posting AJAX forms in a form with many parameters, I am using a solution of creating an iframe, posting the form to it by POST, and then accessing the

7条回答
  •  粉色の甜心
    2020-12-05 03:24

    Basically, this error occurs when the document in frame and outside of ii have different domains. So to prevent cross-side scripting browsers disable such execution.

提交回复
热议问题