title: Redirecting from iframe
body: <p>I built a Contact Form via an Email-Me Form with the following HTML code:</p>
  
  <pre><code>     &lt;link rel="stylesheet" type="text/css" href="contact_us.css" /&gt;
  &lt;link rel="stylesheet" type="text/css" href="http://www.emailmeform.com/builder/theme_css/VaHUixmgcX0Qd0BO1a4ho" /&gt;
  &lt;script type="text/javascript"&gt;
  if (typeof jQuery == 'undefined'){
      document.write(unescape("%3Cscript src='http://www.emailmeform.com/builder/js/jquery-1.7.1.min.js' type='text/javascript'%3E%3C/script%3E"));
  }
  &lt;/script&gt;
  &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  if (typeof $.ui == 'undefined'){
      document.write(unescape("%3Cscript src='http://www.emailmeform.com/builder/js/jquery-ui-1.7.2.custom.min.js' type='text/javascript'%3E%3C/script%3E"));
  }
  &lt;/script&gt;
  &lt;script type="text/javascript" src=http://www.emailmeform.com/builder/js/dynamic.php?t=post&amp;t2=0&amp;use_CDN=true"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="contact_us.js"&gt;&lt;/script&gt;
  &lt;div id="emf-container-outer" &gt;
    &lt;div id="emf-container"style="background-color: #FBF8EF"&gt;
      &lt;div id="emf-logo"&gt;
        &lt;a&gt;EmailMeForm&lt;/a&gt;
      &lt;/div&gt;
   &lt;form target="_top" id="emf-form" class="centerLabel" enctype="multipart/form-data" method="post" action="http://www.emailmeform.com/builder/form/VaHUixmgcX0Qd0BO1a4ho" name="emf-form"&gt;
  &lt;form id="emf-form" class="centerLabel" enctype="multipart/form-data" method="post" action="http://www.emailmeform.com/builder/form/VaHUixmgcX0Qd0BO1a4ho" name="emf-form" target="_top"&gt;
  
        &lt;div id="emf-form-instruction" class="emf-head-widget" style="left:10px; width" &gt;
          &lt;div id="emf-form-title" class="emf-bold" align="right"style="left:10px; font-family:sans-serif "&gt;
            צרו קשר
          &lt;/div&gt;
          &lt;div id="emf-form-description" align="right"style="left:10px; font-family: sans-serif; top:10px"&gt;
  
  
  contacr
  
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;ul&gt;
          &lt;font size="2pt" face="arial"&gt;
          &lt;li id="emf-li-0" class="emf-li-field emf-field-text data_container" style="text-align:right"&gt;
            &lt;label class="emf-label-desc" for="element_0"&gt;name &lt;span&gt;*&lt;/span&gt;&lt;/label&gt;
            &lt;div class="emf-div-field"&gt;
              &lt;input id="element_0" name="element_0" value="" size="22" type="text" class="validate[required]" style="z-index:" /&gt;
            &lt;/div&gt;
  
            &lt;div class="emf-clear"&gt;&lt;/div&gt;
          &lt;/li&gt;
          &lt;li id="emf-li-1" class="emf-li-field emf-field-number data_container" style="text-align:right"&gt;
            &lt;label class="emf-label-desc" for="element_1"&gt;phone number &lt;span&gt;*&lt;/span&gt;&lt;/label&gt;
            &lt;div class="emf-div-field"&gt;
              &lt;input id="element_1" name="element_1" class="validate[required,length[9 ,10],custom[extNumber]]" value="" size="22" type="text" /&gt;
            &lt;/div&gt;
           &lt;div class="emf-clear"&gt;&lt;/div&gt;
          &lt;/li&gt;
          &lt;li id="emf-li-2" class="emf-li-field emf-field-email data_container" style="text-align:right"&gt;
            &lt;label class="emf-label-desc" for="element_2"&gt;Email &lt;span&gt;*&lt;/span&gt;&lt;/label&gt;
            &lt;div class="emf-div-field"&gt;
              &lt;input id="element_2" name="element_2" class="validate[required,custom[email]]" value="" size="22" type="text" /&gt;
            &lt;/div&gt;
            &lt;div class="emf-clear"&gt;&lt;/div&gt;
          &lt;/li&gt;
          &lt;li id="emf-li-3" class="emf-li-field emf-field-textarea data_container" style="text-align:right"&gt;
            &lt;label class="emf-label-desc" for="element_3"&gt;title &lt;font color="red"&gt;*&lt;/font&gt;    &lt;/label&gt;
            &lt;div class="emf-div-field"&gt;
              &lt;textarea id="element_3" name="element_3" cols="18" rows="5" class="validate[required]"&gt;
  &lt;/textarea&gt;
            &lt;/div&gt;
            &lt;div class="emf-clear"&gt;&lt;/div&gt;
          &lt;/li&gt;
          &lt;li id="emf-li-post-button" class="middle"&gt;
            &lt;input value="שלח טופס" type="submit" onmouseover="return true;" /&gt;
          &lt;/li&gt;
        &lt;/ul&gt;&lt;input name="element_counts" value="4" type="hidden" /&gt; &lt;input name="embed" value="forms" type="hidden" /&gt;
      &lt;/form&gt; &lt;/font&gt;
  &lt;/div&gt;
  &lt;!-- end emf-container div --&gt;              
  &lt;/div&gt;
  &lt;!-- end emf-container-outer div --&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here is the form online:  <a href="http://nave.net23.net/HTMLPage.html" rel="nofollow">http://nave.net23.net/HTMLPage.html</a>
  I want to put this form in my html page as an iframe. 
  The iframe code: <code>&lt;iframe src="http://nave.net23.net/HTMLPage.html" width="645px" height="500px;" frameBorder="0" scrolling="no" &gt;&lt;/iframe&gt;&lt;/div&gt;</code></p>
  
  <p>As you can see, when I send the form it is automatically redirecting me to the website that I set up before.
   The problem is that when I put the code in an iframe tag only what is inside the iframe is redirecting and not the PARENT page!
  What can I do to make the parent page refresh?</p>
  
  <p>you can see the form in action with the iframe tag here <a href="http://nave.net23.net/" rel="nofollow">http://nave.net23.net/</a>
  Thank you for your answer...</p>