Waterloo1
12-04-2003, 09:46 AM
Hi, I have a parent window with 2 frames and a child popup window. I need to pass a value in the select box (frommonth) in a form (addvacations) in the popup window back to a select box (months) of a frame (navigation)in a form (form1) of its parent window. But the parent window is not getting the selected value from the popup.
code:
<script language="JavaScript">
var path = ""
path = "document.addvacations.frommonth"
opener.parent.navigation.form1.months.value = path.options[path.selectedIndex].value;
</script>
code:
<script language="JavaScript">
var path = ""
path = "document.addvacations.frommonth"
opener.parent.navigation.form1.months.value = path.options[path.selectedIndex].value;
</script>