Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Mel Smith" Newsgroups: comp.lang.javascript Subject: Re: Misspelling Can Bite You Date: Sat, 4 Feb 2012 13:21:14 -0700 Lines: 23 Message-ID: <9p5i9vFn1kU1@mid.individual.net> References: X-Trace: individual.net VwvHiUxqdbCrSNdmN6GGqQY20lqe6rBiwuk361Ev48J1YMIj58 Cancel-Lock: sha1:LFQEhUic0/9AWp6iSJYt/GrsTwk= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RFC2646: Format=Flowed; Original Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:11194 Dr. J said: > Code could be added to pick out cases where two adjacent words are > unreasonably similar. Dr J and Gene: This morning I was caught (and mislead) by the following set of two statements: var rgn = document.getElementById("iselectrgn") ; var rgnopts = rgn.getElementsByTagname("option") ; Because I *thought* I had checked the statements thoroughly, I looked everywhere *after* this set, and finally went back and checked them again letter-by-letter, and then ... -Mel Smith