0

I have an Iframe in a div and want to move it to another div, when i do that the iframe content is reloaded, it's possible prevent that happens? somehow prevent that iframe access the Internet.

<div id="wrapper">
    <iframe id="iframe1" src="https://www.youtube.com/embed/kd9TlGDZGkI"></iframe>
</div>
<div id="wrapper2"></div>
$('#iframe1').appendTo($('#wrapper2'));
Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
Darm0ka
  • 192
  • 1
  • 14
  • _"prevent that iframe access the internet"_ sounds not logic to me... – Lelio Faieta Aug 30 '16 at 13:31
  • I just want to prevent iframe load since I already have it on the site, but whenever I append it, is loaded again, "Prevent that iframe access the internet" was just an idea. – Darm0ka Aug 30 '16 at 13:48

0 Answers0