[Javascript] server threw and exception???

Peter Brunone peter at brunone.com
Thu Mar 29 17:01:39 CST 2001


1)  The *server* threw an exception?  If this is true, then there are other
problems that must be fixed before this code.

2)  What sort of error did you get?  How far through the code is the error?
If you're using IE and you can't tell, try using Netscape's built-in
debugger (just type javascript: in the URL window).

----- Original Message -----
From: "Scott.Wiseman" <swiseman at remax-cahi.com>
To: <javascript at LaTech.edu>
Sent: Thursday, March 29, 2001 4:34 PM
Subject: [Javascript] server threw and exception???


> 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