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


Groups > comp.lang.javascript > #9289

Re: Wanting to use getElementById()

From Dr J R Stockton <reply1150@merlyn.demon.co.uk>
Newsgroups comp.lang.javascript
Subject Re: Wanting to use getElementById()
Date 2011-12-15 21:51 +0000
Organization Home
Message-ID <kz5WlAe1vm6OFwU4@invalid.uk.co.demon.merlyn.invalid> (permalink)
References <timstreater-81381E.18065509122011@news.individual.net> <Xns9FB6D66455B83eejj99@194.109.133.133> <timstreater-095030.23590509122011@news.individual.net> <1apCv0K6z65OFwMW@invalid.uk.co.demon.merlyn.invalid> <hrufe79d6t4i8pgvcukl6rc6rhre8kvj9p@4ax.com>

Show all headers | View raw


In comp.lang.javascript message <hrufe79d6t4i8pgvcukl6rc6rhre8kvj9p@4ax.
com>, Tue, 13 Dec 2011 17:29:00, Gene Wirchenko <genew@ocis.net> posted:

>On Tue, 13 Dec 2011 19:52:26 +0000, Dr J R Stockton
><reply1150@merlyn.demon.co.uk> wrote:
>
>[snip]
>
>>IMHO, getElementById is something like GO TO (GOTO?) in FORTRAN; one
>>should use it as little as practical.
>
>  1) In very few cases are spaces significant in Fortran.  You can use
>either.  Note the change in the spelling of "Fortran".  It used to be
>all caps.  It is not now.

I ceased using FORTRAN long before any such new-fangled ideas.


I recall one case where spacing was significant.  This was in some
version of HP FORTRAN, not that it matters.  A colleague complained of
an inscrutably failing COMMON statement.  I don't recall the variable
names, but the code resembled

      COMMON THIS, THAT, ..., ..., ..., THING, TOTHER,
     C SOMETHINGELSE

but TOTHER just did not act as a COMMON, although all the others did.
We stared at the screen in disbelief.  Eventually I observed that TOTHER
started in a position which might well have been column 73 or 74, and
light dawned.  Had he not put spaces after his commas ...

-- 
 (c) John Stockton, nr London, UK.    ?@merlyn.demon.co.uk     Turnpike v6.05.
 Website  <http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc. : <http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm
 Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.

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


Thread

Wanting to use getElementById() Tim Streater <timstreater@greenbee.net> - 2011-12-09 18:06 +0000
  Re: Wanting to use getElementById() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-09 20:04 +0000
    Re: Wanting to use getElementById() Tim Streater <timstreater@greenbee.net> - 2011-12-09 23:59 +0000
      Re: Wanting to use getElementById() Swifty <steve.j.swift@gmail.com> - 2011-12-10 06:43 +0000
        Re: Wanting to use getElementById() Tim Streater <timstreater@greenbee.net> - 2011-12-10 09:55 +0000
        Re: Wanting to use getElementById() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-10 10:12 +0000
          Re: Wanting to use getElementById() Tim Streater <timstreater@greenbee.net> - 2011-12-10 12:16 +0000
            Re: Wanting to use getElementById() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-10 15:09 +0000
              Re: Wanting to use getElementById() Tim Streater <timstreater@greenbee.net> - 2011-12-10 17:10 +0000
                Re: Wanting to use getElementById() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-10 18:17 +0000
                Re: Wanting to use getElementById() Tim Streater <timstreater@greenbee.net> - 2011-12-10 18:51 +0000
                Re: Wanting to use getElementById() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-10 19:59 +0000
            Re: Wanting to use getElementById() Denis McMahon <denismfmcmahon@gmail.com> - 2011-12-10 21:22 +0000
              Re: Wanting to use getElementById() Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-12-11 00:52 +0100
      Re: Wanting to use getElementById() Dr J R Stockton <reply1150@merlyn.demon.co.uk> - 2011-12-13 19:52 +0000
        Re: Wanting to use getElementById() Gene Wirchenko <genew@ocis.net> - 2011-12-13 17:29 -0800
          Re: Wanting to use getElementById() Dr J R Stockton <reply1150@merlyn.demon.co.uk> - 2011-12-15 21:51 +0000
            Re: Wanting to use getElementById() Gene Wirchenko <genew@ocis.net> - 2011-12-15 15:53 -0800

csiph-web