Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #20277
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Prob with IE8 and getElementsByName() |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <kpc3ge$j0k$1@dont-email.me> <b1u40iFb16oU1@mid.individual.net> <b1une9FfbioU1@mid.individual.net> <XnsA1DEF15DFDE01eejj99@194.109.133.133> <timstreater-3B4D75.23190613062013@news.individual.net> |
| Date | 2013-06-14 00:34 +0200 |
| Message-ID | <XnsA1DF5C93E358eejj99@194.109.133.133> (permalink) |
Tim Streater wrote on 14 jun 2013 in comp.lang.javascript:
> In article <XnsA1DEF15DFDE01eejj99@194.109.133.133>,
> "Evertjan." <exxjxw.hannivoort@inter.nl.net> wrote:
>
>> Mel Smith wrote on 13 jun 2013 in comp.lang.javascript:
>
>> > for (i=0;i<ntees;i++) {
>>
>> for (var i=0; i<ntees; i++) {
>
> No:
>
> 1) Can't just copy the for loop and use elsewhere.
Eh? Elsewhere is not a function.
> 2) If I decide to use i *earlier* in the code I now have to move the var.
>
> 3) If I'm not sure whether i is global or not I have to search the whole
> function to find var. Much better put all the declarations at the head
> of the function.
Better be sure, if you are the programmer.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Prob with IE8 and getElementsByName() "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-11 15:52 -0600
Re: Prob with IE8 and getElementsByName() Andrew Poulos <ap_prog@hotmail.com> - 2013-06-12 11:01 +1000
Re: Prob with IE8 and getElementsByName() Martin Honnen <mahotrash@yahoo.de> - 2013-06-12 14:11 +0200
Re: Prob with IE8 and getElementsByName() Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-12 16:33 +0200
Re: Prob with IE8 and getElementsByName() "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-12 08:37 -0600
Re: Prob with IE8 and getElementsByName() Andrew Poulos <ap_prog@hotmail.com> - 2013-06-13 08:36 +1000
Re: Prob with IE8 and getElementsByName() "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-12 16:59 -0600
Re: Prob with IE8 and getElementsByName() Denis McMahon <denismfmcmahon@gmail.com> - 2013-06-13 09:30 +0000
Re: Prob with IE8 and getElementsByName() Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-13 13:12 +0200
Re: Prob with IE8 and getElementsByName() "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-13 08:41 -0600
Re: Prob with IE8 and getElementsByName() "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-13 14:12 -0600
Re: Prob with IE8 and getElementsByName() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-06-13 23:43 +0200
Re: Prob with IE8 and getElementsByName() Tim Streater <timstreater@greenbee.net> - 2013-06-13 23:19 +0100
Re: Prob with IE8 and getElementsByName() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-06-14 00:34 +0200
Re: Prob with IE8 and getElementsByName() Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-14 10:17 +0200
Re: Prob with IE8 and getElementsByName() "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-06-13 08:24 +0300
Re: Prob with IE8 and getElementsByName() Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-06-12 19:01 +0100
csiph-web