but when the window is closed the value is not retrieved in main window ..can any one help me up
i am getting value in system.out.println();
but not in text box(input box)
Last edited by aruna_k_2006; Sep 3rd, 2007 at 5:59 am.
Re: Having problem in retrieveing values from pop-up window to main window
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JAVASCRIPT">
function doZoomback(sourceobj, destinationObj)
{
destinationObj.value=sourceobj.value;
window.close();
}function doZoom(obj)
{
window.open("Zoomin.jsp?txttest=" + obj.value)
}
</SCRIPT>
</HEAD><BODY>
<TEXTAREA name="txtTest"><%=request.getParameter("txttest")%>
</TEXTAREA>
<input type="submit" name="cmdOK" value="OK" onclick="parent.doZoomback(txtTest,opener.document.all.txttest)">
</BODY></HTML>
The above program is similar to ur program so i think it will solve ur problem..
leave ur comment to my id
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.