title: Popup window return value
body: <p>I hope someone may be kind enough to help me with this issue.</p>
  
  <p>What I am trying to do I return a value from a popup window into the parent window that launched it using javascript.</p>
  
  <p>What I have tried is calling (as read on various websites)</p>
  
  <pre><code>window.opener.document.forms[0].textField.value = 'value'
  </code></pre>
  
  <p>but while this does not produce any errors it does not change the field value.</p>
  
  <p>I have tried searching on the net for a solution to this but there as so many sites relating to 'pop up return value' on google, results dating back to 2000, many seem to conflict each other so I am somewhat confused.</p>
  
  <p>Ideally what I would prefer to do is have the pop up window wait for a decision to be made (either yes or no), and have a true or false value return to the calling function from the parent window. As the reason for this, is that I have a form the uses onsubmit to call a javascript function to confirm weather to continue on not. I was using a dialog to return a true false value, but now trying to do it with a pop up so I can include images and various other information.</p>
  
  <p>Hopefully I have explained this well enough and someone can help me with a solution.</p>
  
  <p>Thanks for your time.</p>