Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Mel Smith" Newsgroups: comp.lang.javascript Subject: Re: IE8 attachEvent problem Date: Sun, 20 Jan 2013 16:19:26 -0700 Lines: 18 Message-ID: References: <6nlof8pgvu18gr4a6ctul5081r2qkr5p78@hive.bjoern.hoehrmann.de> X-Trace: individual.net Vo7k4em8NiZCRqno0E3Q8AdDkADpnxdt8hE9oTKtwUiHmtLrl2a0M0yP7BvF1T9wKJ Cancel-Lock: sha1:LFTNqNhbhDFXCq43VoSQegA1tcY= 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: csiph.com comp.lang.javascript:18175 Bjoern said: >* Mel Smith wrote in comp.lang.javascript: >> On IE8, I get the error 'body is undefined' > >>body.onload="document.getElementById(tid).scrollIntoView();" > > You are probably looking for `document.body`. Hi Bjoern: After taking a little nap, I awoke with a light-bulb bubble over my head which was, of course, which you noted above. -Mel