By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,157 Members | 891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,157 IT Pros & Developers. It's quick & easy.

Get value from popup(jsp) to parent(jsp) form

P: n/a
I have a JSP page with a form containing 2 text fields (infact there
are many) and I want to add the feature of a help button (instead of
drop down). On clicking the button it should popup a jsp page
displaying records, afer selecting the record and clicking ok the
window should close and populate the corresponding data to the parent
form text fields.

Infact the popup will be calling a controller servler, it will create a
arraylist object in session and forward to a jsp page where the records
are displayed.

Moreover i want to use javascript only, to communicate between the
parent and popup.
I don't want to put the data into session and reload the whole parent.

Any help or idea is appreciable!

Jan 20 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ctbang wrote:
[...] On clicking the button it should popup a jsp page
displaying records, afer selecting the record and clicking ok the
window should close and populate the corresponding data to the parent
form text fields.
[...]
Any help or idea is appreciable!


`window.opener' in the popup refers to the "parent" window. See numerous
discussions before.
PointedEars
Jan 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.