Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #18228

Re: How to best update three columns

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail
From Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid>
Newsgroups comp.lang.javascript
Subject Re: How to best update three columns
Date Wed, 23 Jan 2013 18:54:09 +0000
Organization Home
Lines 23
Message-ID <qjYcDkHRHDARFwpV@invalid.uk.co.demon.merlyn.invalid> (permalink)
References <kdm9vn$ons$1@dont-email.me> <XnsA150CF1952965eejj99@194.109.133.133>
NNTP-Posting-Host JfH6RRPWQh8XzArFI0xgxA.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain;charset=us-ascii
X-Complaints-To abuse@aioe.org
User-Agent Turnpike/6.05-S (<hf4ExNSEcsspNA9ux+xbCngmk3>)
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.javascript:18228

Show key headers only | View raw


In comp.lang.javascript message <XnsA150CF1952965eejj99@194.109.133.133>
, Tue, 22 Jan 2013 20:21:31, Evertjan. <exxjxw.hannivoort@inter.nl.net>
posted:

>
>var t = document.getElementsByTagName('table')[0];
>var tb = t.getElementsByTagName('tbody')[0];
>

I think it generally better to use something other than a numerical
index to identify the whole Table, in case the number or order of Tables
is changed.  Use a name or ID instead, on the Table or on some bordering
element.

Tony - I guess you are Swedish, or at least in Sweden; and that the
Table may be a tide- or time- table.  In either case, "Tendancy" should
be "Tendency"; and "Trend" might (or might not) be better.

-- 
 (c) John Stockton, nr London UK               Reply address via Home Page.
   news:comp.lang.javascript FAQ <http://www.jibbering.com/faq/index.html>.
   <http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
   <http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to best update three columns "Tony" <tony.johansson@inport.com> - 2013-01-22 16:07 +0100
  Re: How to best update three columns "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-01-22 20:21 +0100
    Re: How to best update three columns "Tony" <tony.johansson@inport.com> - 2013-01-23 10:08 +0100
      Re: How to best update three columns "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-01-23 11:26 +0100
    Re: How to best update three columns Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-01-23 18:54 +0000
      Re: How to best update three columns "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-01-24 10:01 +0100
  Re: How to best update three columns Bart Van der Donck <bart@nijlen.com> - 2013-01-23 01:11 -0800

csiph-web