Copy div from parent website to a textarea in iframe

前端 未结 2 1924
情歌与酒
情歌与酒 2021-01-28 21:49

In the Google Translator I\'ve made a second instance of Google Translate with

var makediv = document.createElement(\"secondinstance\");
makediv.innerHTML = \'&l         


        
2条回答
  •  终归单人心
    2021-01-28 22:37

    Had similar problem recently trying to access iframe. Unfortunately it is impossible IF it is a cross-domain. Read more: Get element from within an iFrame

    Hope it helps.

提交回复
热议问题