Here is the demo, Click the button ( take care of popup blocker of your browser ) and enter your name in child window opened. Then once closed it will be available at parent window.

Your Name Click here to open the child window

Return to tutorial on Data shifting from Child to Parent window