G
G
game8022017-02-27 21:59:42
JavaScript
game802, 2017-02-27 21:59:42

How to pass data from iframe to root document?

Good evening, dear experts... I stumbled upon a problem related to the iframe.
I have a modal window that displays an embedded page (iframe). How to pass data from iframe to root document? How, for example, to implement such a thing: I clicked on an image in an iframe, and the link of this image flew to the input of the root document?
I would appreciate any help on this matter, thanks!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2017-02-27
@game802

postMessage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question