Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Mel Smith" Newsgroups: comp.lang.javascript Subject: Re: Prob with IE8 and getElementsByName() Date: Thu, 13 Jun 2013 14:12:54 -0600 Lines: 51 Message-ID: References: <51b86558$0$6630$9b4e6d93@newsspool2.arcor-online.net> X-Trace: individual.net 83vBh0S9U5pFE1sJematDAU4xE2C4CpnK8f8HXxBU6lyYq7Wfu Cancel-Lock: sha1:BgIuCb1XR5jqnLUSc7sgkTRvvD8= 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; Response Xref: csiph.com comp.lang.javascript:20274 Hi: After a bunch of head-scratching and swearing, I have 'runtime build' of my variable-length table: I initialized the table with a row, then using the code below, I added needed data rows thru Ajax. But each time I went 'ajaxing' for data for a new table, I had to eliminate the original data rows first or thedy kept building up ! Anyway, the code is below Thank y'all ! -Mel ************************************** // other vrbls set above as var ... var row,cell ; var teetable = getobj("iteetable") ; // get the tee table object // because we're building from scratch, I have to delete all previous rows // past the header row while (teetable.rows.length > 1) { teetable.deleteRow(1) ; // bypass the header and get the first/next/ and last data row } for (i=0;i