Get a handle of new window opened
<p>I want to insert text in a text box present in new window which is getting open when I am clicking on a link present in parent window</p>

<p>I want to know how I can get a handler of new child window and I can find id of element present in child window and perform action in javascript.</p>

<p>Note-View source of child window and parent is different and on using <code>document.getElemntByid("")</code> is not working because- code is not able to find the element because id's of child window is not present in parent window so for that I want handle/switch of child window. </p>
