P
P
paulvales2015-11-06 20:35:17
JavaScript
paulvales, 2015-11-06 20:35:17

How to solve an interesting case with IFRAME?

Hello, is this the situation? a page with a script that also forms an iframe is connected through an iframe, how to change the style of an object from the innermost iframe?
Ps is done this way because the amoCrm form is used, but it is included only once per page. multiple copies on the page cannot be made, they simply do not work, so we connect via iframe

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wol_fi, 2015-11-06
@wol_fi

Inside the iframe from the parent - no way.
From the iframe, the parent can be through window.top or window.parent if the domains are the same.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question