Originally posted by sailaja parepalli:
Hi all,
Does anybody know how to work with pop-up windows in a jsp?
...
Thanks.
On the pop up page, include a javascript function which will be called on submitting the pop up box. Now you can populate the fields of the parent window or populate the value of any hidden field on the parent window by the javascript statement:
window.opener.document.<object_name (or form_name)>.value = <value_on_pop_up_page>;
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 ]