[Javascript] server threw and exception???

Scott.Wiseman swiseman at remax-cahi.com
Thu Mar 29 16:34:08 CST 2001


here is the code:

trying to update a parent window drop down from a child window

<SCRIPT LANGUAGE="JavaScript">
function testing()
{

	var x = opener.document.myform.ddtest.options.length;
	alert(x);
	opener.document.myform.T1.value = "test";
	
//	opener.document.myform.ddtest.options[x]    =   new Option("testing
child");	
	
	
opener.document.myform.ddtest.options[opener.document.myform.ddtest.length]
=  new Option("testing");
   
//	opener.location = opener.location.href;
//	self.close();
//	window.opener.close() 
//	window.location = window.parent;
	
}


</script>




More information about the Javascript mailing list