title: How to pass a selected value to a html popup window
body: <p>This might be a popular question but I couldn't find the answer I'm looking for.
  Anyway What I want to do is pass an option value in the parent window to a popup window so I can display some thing in the popup according to the selected option.here is my code of the parent window.</p>
  
  <pre><code>&lt;select name="itemSelect" id="itemSelect"&gt;
  &lt;option&gt;chair&lt;/option&gt;
  &lt;option&gt;table&lt;/option&gt;
  &lt;/select&gt;
  &lt;a class="button" href="#" onclick= "MyWindow=window.open('form3.php','MyWindow','toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,width=500,height=650'); return false;"&gt;enter data&lt;/a&gt;
  </code></pre>