grab global variable from an embedded iframe

后端 未结 2 2026
自闭症患者
自闭症患者 2021-02-09 06:27

say an HTML page (Page.htm) contains the following...


Now this

2条回答
  •  情歌与酒
    2021-02-09 07:00

    Your first syntax should work IF you're on the same doamin.

    If the IFRAME is loading a page from another domain then you won't be able to access it.

提交回复
热议问题