title: Showing a modal popup from iframe?
body: <p>I am using Bootstrap modal using jquery, Inside modal dialog I have an iframe in which I am opening a page.
  In this page user can input some information and it is done using ajax. If user close the modal dialog after submitting, I want to open it again after getting response from ajax call.</p>
  
  <p>How I can perform this condition below  from iframe as the modal is in parent page.</p>
  
  <pre><code>if (!$('#myModalCIar', window.parent.document).data('bs.modal').isShown) {
     $('#myModalCIar', window.parent.document).modal('show');
  }
  </code></pre>
  
  <p>thanks</p>