how to pass value to pop up window using javascript function?
<p>I want to open new window from existing form.When I am clicking on new window in form then new form should open with results of value entered,but new window form is opening with main page,not able to get text box value from parent form.</p>

<p>How to call textfield input value in popup window from parent window using javascript?</p>

<pre><code>//currently I'm using following code:
&lt;script type="text/javascript"&gt;
function pop_up5() {
  var l_url=window.opener.document.getElementById("name").value;
  window.open(l_url,'''','scrollbars=yes,resizable=no,width=550,height=400');
}
&lt;/script&gt;
</code></pre>
