Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] server threw and exception???
- From: javascript@xxxxxxxxxx (Peter Brunone)
- Subject: [Javascript] server threw and exception???
- Date: Thu, 29 Mar 2001 17:01:39 -0600
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@xxxxxxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
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>
- References:
- [Javascript] server threw and exception???
- From: Scott.Wiseman
- [Javascript] server threw and exception???
- Prev by Date: [Javascript] (no subject)
- Next by Date: [Javascript] Special Characters (Umlauts) in JavaScript
- Previous by thread: [Javascript] server threw and exception???
- Next by thread: [Javascript] Special Characters (Umlauts) in JavaScript
- Index(es):