Here is the demo. Click the link, enter your name in the child window, then click Submit. The value is returned to the parent field when the child closes.
Return to tutorial on Data shifting from Child to Parent window