When I click a button I need to open a pop-up window and I need to return some values from the pop-up window to main window.
Even I am getting values in 3rd list box in the newly opened pop-up window but not in the already opened pop-up window. When I am closing the newly opened pop-up window I am again left with 3rd list box empty in my original pop-up window.
This is my code to invoke the pop-up window:
and when I invoke this function control is transferred to viewoptns.jsp where I am retrieving values from database into form elements like listbox and upon selecting appropriate values in those list boxes I need to return them to the calling function; for which I am using window.returnValues method.
Can anyone guide me how to avoid opening the new pop-up window..