Event when IFrame has posted back?
<p>I have some code that closes a modal in the parent when an IFrame's button is pressed.</p>

<p>This works well, but my problem is I need the IFrame to be fully postbacked before executing the close method.</p>

<pre><code>var $MyFrame = $("#editScheduleFrame");

// You need to wait for the iFrame content to load first
// So, that the click events work properly
$MyFrame.load(function () {
    var frameBody = $MyFrame.contents().find('body');
    var btn = frameBody.find('.schedule-submit');

    btn.on('click', function () {
        closeEditModal();
    });
});
</code></pre>

<p>Is there any way I can instead call closeEditModal only once the schedule submit button has been pressed AND the IFrame child page has posted back?</p>
