[Javascript] RE: Undefined is Undefined in IE 5
bill.marriott at agric.nsw.gov.au
bill.marriott at agric.nsw.gov.au
Tue Dec 9 20:13:30 CST 2003
Thanks for that Lau,
I'll give it a go
Bill Marriott
Analyst/Programmer
Information Technology
NSW Agriculture
Orange
Ph. 02 6391 3657
Fax. 02 6391 3290
"Lau at goldenweb.com
.au" <lau To: "[JavaScript List]" <javascript at LaTech.edu>
Sent by: cc:
javascript-bounces Subject: Re: [Javascript] RE: Undefined is Undefined
@LaTech.edu in IE 5
10/12/2003 12:08
PM
Please respond to
"[JavaScript
List]"
You need to put it in quotes
if ( AverageStudentsObj != "undefined" )
By the way IE 5 does support "getElementByID"
Peace
Lau
----- Original Message -----
From: Robert Pollard
To: [JavaScript List]
Sent: Wednesday, December 10, 2003 11:47 AM
Subject: Re: [Javascript] RE: Undefined is Undefined in IE 5
I don't believe IE 5 supports node functions as in "getElementByID"
I may be mistaken but I believe that could be the problem.
HTH,
Robert
On Tuesday, December 9, 2003, at 04:17 PM, bill.marriott at agric.nsw.gov.au
wrote:
<?smaller>HI Everyone,
The following code works in IE 6 but falls over with the error
"Undefined is Undefined"
in IE 5. Does anyone know what the actual problem is and is there
a workaround?
var AverageStudentsObj = document.getElementById("AverageStudents");
if ( AverageStudentsObj != undefined )
thanks
Bill Marriott
Analyst/Programmer
Information Technology
NSW Agriculture
Orange
Ph. 02 6391 3657
Fax. 02 6391 3290
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient or
received it in error, please delete the message and notify sender.
Views expressed are those of the individual sender and are not
necessarily the views of their
organisation._______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
<?/smaller>
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient or
received it in error, please delete the message and notify sender. Views
expressed are those of the individual sender and are not necessarily the
views of their organisation.
More information about the Javascript
mailing list