if you are usign window.ShowModalDialog , when OK is clicked assign
window.returnValue = "value from textbox" before closing the window.
in the parent page you would open the window like
var valueFromPopUp = window.ShowModalDialog(.....);
***********************************************
if using window.open ,you can access the textbox in parent form directly
from popup like below..
window.parent.document.forms[0].ParentTextBoxname.value="ValueOfTextBox";
"Everson Lira" wrote:
Hi folks!
I need capture a variable from a pop up window. In a form, when the user
fill all the fields he have an option to insert an obsevation. So he click a
link that open a pop up window with a TextBox web control and after fill it,
by pressing a OK button the context of this text box return to principal
form. Try to use session method without exit.
How can this be done? Can someone provide code to achieve this.
Thanks
--
Everson Lira