JSP capture data and return
<p>I have a dialog box where i am specifying a url. On click of OK the URL is opened in another dialog box. Now i want to capture the information entered and return it back to the former DialogBox. How can this be done???</p>

<pre><code>function urlwindowopen() 
{ 
var projecturl = document.getElementById("prourl").value;
alert("Prourl: "+projecturl);
window.open(projecturl);
}
</code></pre>

<p>I want the data from the new window opened back to the function and i cant edit the code of new window opened beacuse dat URL might be of the 3rd party.</p>
