Hi all, Does anybody know how to work with pop-up windows in a jsp?
I could display a pop-up window by sending a value from the parent jsp as the request parameter. The jsp in the pop-up window takes this parameter and displays a set of values on the window depending on the parameter value. The user should select a value from these set of values.
Now I need to send the selected value back to the parent window as soon as I select a value in the pop up window. This pop up window also should get closed immediately.
I appreciate if anybody can tell me how to achieve this.
Originally posted by sailaja parepalli: Hi all, Does anybody know how to work with pop-up windows in a jsp? ... Thanks.
Basically, window.opener.document will give you the document object of the parent page, and then you can play on further. [ November 18, 2004: Message edited by: Dharmanand Singh ]