# Getting value from Child value but parent window should not

**URL:** <https://www.ruby-forum.com/t/getting-value-from-child-value-but-parent-window-should-not/109216>\
**Category:** Rails\
**Created:** [July 12, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/getting-value-from-child-value-but-parent-window-should-not/109216 "2007-07-12T13:30:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unnikrishnanes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/ce73a5/32.png) [@unnikrishnanes](https://www.ruby-forum.com/u/unnikrishnanes)\
**Post date:** [July 12, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/getting-value-from-child-value-but-parent-window-should-not/109216/1 "2007-07-12T13:30:31Z")

</div>

I have a window in which I have a text field followed by a add button.  
when I click on add button a window will open up. and I will add some  
data to the child window and when I enter , the entered data should go  
to a field in parent window.

When the child window is open I should be able to enter datas in Parent  
window.

How to do that
