Write into a textbox on a child window from main window
Posted on 2001-06-26
I have 2 forms. The main and child window. When i click on a button to open the child window, I would like to write a value from a textbox on the main window into a textbox on the child window. I can write the value into the form but not the textbox. Any suggestions??? Thanks in advance.
newWindow = window.open('ChildWindow.cfm','myWindow','resizable=no,width=160,height=200');
I tried but did not work:
newWindow.document.ChildForm.ChildRegion = document.MainForm.strRegion.value
<input type="text" name="ChildRegion" value="">