This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have a jsp page which contains a radio button that brings a text area when clicked along with a hyperlink. The hyperlink opens a pop up window when clicked. The pop up window populates few values in a table with checkboxes to select them. There is a button that must send the selected vales to the parent page into the textarea when clicked.
How can this be done? Please provide code.
Ali Gohar
Ranch Hand
Joined: Mar 18, 2004
Posts: 572
posted
0
Nobody can provide you code like this
Try to write the code yourself and if you find any problem in that then you can post here. First of all i haven't understood what you are trying to say?
Hint: your popup will have access to its opening page through a variable named opener.
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
What helps me a lot for this kind of requirements: I open the popup and retain the handle. Then I set a variable of that window to the form I want to send the variables back. This way you have direct access to the underlying fields. Shortens your code quite a bit. Hth ;-) stw P.s.: Stick to DOM methods, then it will work X-Browser.