Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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: Wed, 12 Jun 2013 16:59:53 -0600 Lines: 26 Message-ID: References: <51b86558$0$6630$9b4e6d93@newsspool2.arcor-online.net> X-Trace: individual.net iDunZGirRMns87RS3rkffwi4jNQ7L2X8gW1fa5GqoBbjbMdrax Cancel-Lock: sha1:HmnLyft7QNTStUb3FW1rDJvJycs= 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:20259 Andrew said: > > You could give the table and id and then do something like: > > var i, > aTr = document.getElementById("mytable").getElementsByTagName("tr"), > len = aTr.length; > > for (i = 0; i < len; i++) { > // Here aTr[i].getElementsByTagName("td")[0] will be the first > // TD in a row > // If you have a header row you start with i = 1 > } Hi Andrew: Yes, I think that I may do that tomorrow. I have a variable number of rows in this table -- Maybe up to ten, so I'll fuss over the problem tomorrow. Thank you -Mel