How do I pass a post value from a form element on a parent form to a child form?
<p>I need to get the value from the parent form into the child; not the other way around. Found many a howto from child to parent but that doesn't work for me. I have an onclick event in the input button but I'm unsure how to get the value from this calendar into the child window from here.</p>

<pre><code>&lt;form method="post" action=""&gt;
  &lt;p style="padding:10px;"&gt;
    &lt;input type="text" id="date" name="date" value="" maxlength="10"&gt;&lt;a href="javascript:void(0);" onclick="g_Calendar.show(event, 'date', 'yyyy-mm-dd')" title="Show Calendar" style="text-decoration:none;"&gt; &lt;img src="calendar.gif" class="cp_img" alt="Open Calendar" style="padding-bottom:3px;"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
    &lt;input type="submit" name="search" value="Submit" onclick="popWindow('search.php')"&gt;
  &lt;/p&gt;
 &lt;/form&gt;
</code></pre>
