# Bringing the modal box out of an iframe.

**URL:** <https://forum.kirupa.com/t/bringing-the-modal-box-out-of-an-iframe/638247>\
**Category:** web dev\
**Created:** [May 20, 2018, 2:39pm UTC](https://forum.kirupa.com/t/bringing-the-modal-box-out-of-an-iframe/638247 "2018-05-20T14:39:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jithin](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@Jithin](https://forum.kirupa.com/u/Jithin)\
**Post date:** [May 20, 2018, 2:39pm UTC](https://forum.kirupa.com/t/bringing-the-modal-box-out-of-an-iframe/638247/1 "2018-05-20T14:39:26Z")

</div>

Is it possible to bring a modal box inside the iframe to outside?

---

<div class="post-metadata">

**Author:** ![JohnHansenArtist](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/johnhansenartist/32/8958_2.png) [@JohnHansenArtist](https://forum.kirupa.com/u/JohnHansenArtist)\
**Post date:** [May 20, 2018, 3:19pm UTC](https://forum.kirupa.com/t/bringing-the-modal-box-out-of-an-iframe/638247/2 "2018-05-20T15:19:18Z")

</div>

It may depend on the data types and source structure of what is contained and obtained in the iframe. You could use JavaScript to gather the values and then use it to propagate the structure within your modal. An event listener may be needed on the iframe to detect change.
