title: Get input text value from "iframe"
body: <p>firstly sorry for my English.</p>
  
  <p>I have an iframe:</p>
  
  <pre><code>&lt;dl class="ctrlUnit"&gt;
      &lt;dt&gt;{xen:phrase image_url}:&lt;/dt&gt;
      &lt;dd&gt;&lt;input type="text" name="redactor_image_link" id="redactor_image_link" class="textCtrl" /&gt;&lt;/dd&gt;
  &lt;/dl&gt;
  &lt;div style="border: 3px dotted #a0a0a0; overflow: hidden; margin: 15px auto; max-width: 650px;"&gt;
                   &lt;iframe src="http://img.uforum.uz" width="650px" height="483px" align="center"style="border: 0px none; margin-left: 0px !important; height: 483px; margin-top: -10px; width: 665px;"&gt;
                      Ваш браузер не поддерживает плавающие фреймы!
                  &lt;/iframe&gt;
          &lt;/div&gt;
  &lt;dl class="ctrlUnit submitUnit"&gt;
      &lt;dt&gt;&lt;/dt&gt;
      &lt;dd&gt;
          &lt;input type="button" name="upload" class="redactor_modal_btn button primary" id="redactor_image_btn" value="{xen:phrase insert}" /&gt;
          &lt;a href="javascript:void(null);" class="redactor_modal_btn redactor_btn_modal_close button"&gt;{xen:phrase cancel}&lt;/a&gt;
      &lt;/dd&gt;
  &lt;/dl&gt;
  </code></pre>
  
  <p>Via this iframe users can upload image and paste direct URL into the input form manually</p>
  
  <p>After uploading, <strong><a href="http://img.uforum.uz" rel="nofollow noreferrer">http://img.uforum.uz</a></strong> will redirect to the <strong><a href="http://img.uforum.uz/upload.php" rel="nofollow noreferrer">http://img.uforum.uz/upload.php</a></strong>, and in this page needs automatically paste value (URL from iframe input):</p>
  
  <pre><code>&lt;input type="text" value="http://img.uforum.uz/images/luqihve4440494.jpg" name="direct" size="50"&gt;
  </code></pre>
  
  <p>to second input (which placed not in iframe, but above the iframe code):</p>
  
  <pre><code>&lt;dd&gt;&lt;input type="text" name="redactor_image_link" id="redactor_image_link" class="textCtrl" /&gt;&lt;/dd&gt;
  </code></pre>
  
  <p>I don't know JavaScript and need your help)</p>
  
  <p>Thank's in advance.</p>