title: Get value of a text box in iframe from parent window
body: <p>I have an iframe in my page and how can i get a the value of t text box in the frame from my parent page on a button click?</p>
  
  <p>here is my code</p>
  
  <pre><code>&lt;div&gt;
  &lt;iframe src="test.html" &gt;
  &lt;input type=text id="parent_text"&gt;
  &lt;input type="button"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>here is d test.html</p>
  
  <pre><code>&lt;input type="text" id="frame_text"&gt;
  </code></pre>
  
  <p>thanks</p>