Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #14341
| From | Jeremy J Starcher <r3jjs@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Changing styles values by Element Name |
| Date | 2012-06-05 20:26 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <jqlq19$3lp$1@dont-email.me> (permalink) |
| References | <jqfps1$r9j$1@dont-email.me> <4fcb6c56$0$6573$9b4e6d93@newsspool3.arcor-online.net> <XnsA067B487E79B6eejj99@194.109.133.133> <jqg30i$kvt$1@dont-email.me> |
On Sun, 03 Jun 2012 09:22:18 -0700, Scott Johnson wrote: > On 6/3/2012 8:44 AM, Evertjan. wrote: >> Martin Honnen wrote on 03 jun 2012 in comp.lang.javascript: > Ahhh now I see. > > getElementsByName returns an array of (duh) elements. I guess the (s) > should of clued me in. Actually, it returns at HTMLCollection which is array-like. The difference may seem subtle, but confusing the two can cause bugs or runtime errors. https://developer.mozilla.org/en/DOM/HTMLCollection
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Changing styles values by Element Name Scott Johnson <noonehome@chalupasworld.com> - 2012-06-03 06:46 -0700
Re: Changing styles values by Element Name Martin Honnen <mahotrash@yahoo.de> - 2012-06-03 15:53 +0200
Re: Changing styles values by Element Name "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-06-03 15:44 +0000
Re: Changing styles values by Element Name Scott Johnson <noonehome@chalupasworld.com> - 2012-06-03 09:06 -0700
Re: Changing styles values by Element Name Scott Johnson <noonehome@chalupasworld.com> - 2012-06-03 09:22 -0700
Re: Changing styles values by Element Name Jeremy J Starcher <r3jjs@yahoo.com> - 2012-06-05 20:26 +0000
Re: Changing styles values by Element Name Scott Johnson <noonehome@chalupasworld.com> - 2012-06-05 20:52 -0700
Re: Changing styles values by Element Name "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-06-06 09:57 +0000
Re: Changing styles values by Element Name Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-09 11:43 +0200
Re: Changing styles values by Element Name Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-09 13:03 +0200
Re: Changing styles values by Element Name "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-06-09 14:14 +0000
Re: Changing styles values by Element Name Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-09 18:13 +0200
Re: Changing styles values by Element Name Luuk <luuk@invalid.lan> - 2012-06-09 18:35 +0200
Re: Changing styles values by Element Name "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-06-10 10:33 +0000
Re: Changing styles values by Element Name Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-10 14:50 +0200
Re: Changing styles values by Element Name SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-06-04 15:32 +0200
csiph-web