Ken Schaefer wrote: > >> -----Original Message----- >> From: thelist-bounces at lists.evolt.org [mailto:thelist- >> bounces at lists.evolt.org] On Behalf Of David Zhou >> Sent: Thursday, 15 May 2008 2:12 PM >> To: thelist at lists.evolt.org >> Subject: Re: [thelist] JS Problem - IE throwing 'null or not an object' >> error >> >> On May 15, 2008, at 12:05 AM, Ken Schaefer wrote: >> >>>> -----Original Message----- >>>> From: thelist-bounces at lists.evolt.org [mailto:thelist- >>>> bounces at lists.evolt.org] On Behalf Of Blake >>>> Subject: Re: [thelist] JS Problem - IE throwing 'null or not an >>>> object' >>>> error >>>> >>>> As it turns out "description" is a reserved word in IE. >>>> >>> Have you got a reference for this? >>> >> http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/ >> > > Yes - but I meant do we have some authoritative list (including description?) Something from MSDN would be good. > > Cheers > Ken > Actually the problem is that MSIE does not make any difference between name and ID, which is why the meta description is an issue. So anything that might be in the document as a name attribute is a problem. http://www.sixteensmallstones.org/ie-javascript-bugs-overriding-internet-explorers-documentgetelementbyid-to-be-w3c-compliant-exposes-an-additional-bug-in-getattributes This is once again a silly browser quirk that using a good JS library solves for you. Chris