R
R
ramovich2018-03-06 09:26:18
JavaScript
ramovich, 2018-03-06 09:26:18

How to implement Drag and drop from iframe to page?

There is a page with iframe. The page has a textarea text input field.
Another site is open in the iframe. It is necessary that if I select some text in the iframe and drag it to the textarea on the parent page, then it will be successfully dragged there.

How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2018-03-06
@ramovich

No way. This is XSS. It is disabled for security reasons.

R
ralliart, 2018-03-06
@ralliart

In any way, through iframe in general it is impossible to receive the data from other page in any way. Don't steal passwords.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question