The main window of my Website opens a child window as you can see
below:
Expand|Select|Wrap|Line Numbers
- <script language="JavaScript">
- window.name = 'Iamparentwindow'
- function openwindow()
- {
- var child2 = window.open("Test.htm","childwin","height=350,width=280");
- child2.focus();
- child2.document.childform.text1.value =
- document.parentform.testtext2.value;
- }
- </script>
1. the 3rd line of function openwindow is generating errors- Could you
please help me fix that ?
2. In the child window, I have used
opener.document.parentform.testtext1.value =
document.childform.text2.value;
which is working fine. But I would like to use the name of opener
window, "Iamparentwindow" instead.
Could you please help me?
Thank you in advance
Evrim