Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #31674
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: How to replace a class? |
| Date | Thu, 10 Nov 2016 23:20:21 +0100 |
| Organization | PointedEars Software (PES) |
| Lines | 28 |
| Message-ID | <1844095.KlZ2vcFHjT@PointedEars.de> (permalink) |
| References | <5a64eafc-a7f3-44e2-88ce-fe388101ecba@googlegroups.com> <XnsA6BB50B9C4B39eejj99@194.109.6.166> <28c08bf8-fb92-4487-acd1-10f9ea445d16@googlegroups.com> <bd5236f5-a271-4e96-89a9-590d490b49f8@googlegroups.com> <cc2892c6-e51d-4e61-862f-53a66d842194@googlegroups.com> <XnsA6BCDA38FA080eejj99@194.109.6.166> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | solani.org 1478816422 18973 eJwFwQkBwDAIA0BL0PDKWWHxL6F3jtCYtPAwp3NTceQXM60BpU+tQNiUq12oi+TERC2+bX0CPxBy (10 Nov 2016 22:20:22 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Thu, 10 Nov 2016 22:20:22 +0000 (UTC) |
| User-Agent | KNode/4.14.2 |
| X-NNTP-Posting-Host | eJwFwQERADEIAzBLK9ByyHk28C/hE7qgmyEquNzFQ3ZMJPF5+0x1lp3HEo6Fie631zC8HfgBE2sQkg== |
| Cancel-Lock | sha1:yGsirWEEIA5EMxZJfMck3wQ3DpE= |
| X-User-ID | eJwFwYkBgDAIA8CVeJKg41Aq+4/gHVOuKYgClzsw+1AWn9veLJWHn3kQ8n2phCnV2TXkxHhDOJ0Vx67t/CJEFHw= |
| Xref | csiph.com comp.lang.javascript:31674 |
Show key headers only | View raw
Evertjan. wrote:
>> // define line class
>
> That is not defining a class,
> that is just making a pointer to a collection of elements.
There are no pointers in these languages (except in the low-level
implementation). The proper term is _reference_.
>> let lineC = document.getElementsByClassName('Line');
>
> So this is a collection of elements.
It is not a collection, but a node list (an object implementing the NodeList
interface); by contrast, the items of a collection (an object implementing
the HTMLCollection interface, for example) can also be addressed by non-
numeric index, by the name of an item, using the bracket property accessor
or calling the namedItem() method (with a string parameter).
Your From header field still violates network standards and Netiquette. As
to the former, read <https://tools.ietf.org/html/rfc5536#section-3.1.2>.
--
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to replace a class? justaguy <lichunshen84@gmail.com> - 2016-11-08 18:53 -0800
Re: How to replace a class? justaguy <lichunshen84@gmail.com> - 2016-11-10 07:45 -0800
Re: How to replace a class? Ram Tobolski <ramtob@gmail.com> - 2016-11-10 10:08 -0800
Re: How to replace a class? justaguy <lichunshen84@gmail.com> - 2016-11-10 11:58 -0800
Re: How to replace a class? justaguy <lichunshen84@gmail.com> - 2016-11-10 13:06 -0800
Re: How to replace a class? Ram Tobolski <ramtob@gmail.com> - 2016-11-10 13:37 -0800
Re: How to replace a class? justaguy <lichunshen84@gmail.com> - 2016-11-10 14:09 -0800
Re: How to replace a class? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-11 00:01 +0100
Re: How to replace a class? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-10 22:51 +0100
Re: How to replace a class? justaguy <lichunshen84@gmail.com> - 2016-11-10 14:09 -0800
Re: How to replace a class? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-11-10 23:20 +0100
Re: How to replace a class? John Harris <niam@jghnorth.org.uk.invalid> - 2016-11-11 10:24 +0000
Re: How to replace a class? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-11-11 12:37 +0100
Re: How to replace a class? John Harris <niam@jghnorth.org.uk.invalid> - 2016-11-12 17:09 +0000
Re: How to replace a class? John Harris <niam@jghnorth.org.uk.invalid> - 2016-11-11 10:41 +0000
Re: How to replace a class? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-11-11 12:43 +0100
Re: How to replace a class? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-11 14:52 +0100
Re: How to replace a class? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-11-11 15:11 +0100
Re: How to replace a class? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-11 15:30 +0100
Re: How to replace a class? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-11-11 16:41 +0100
Re: How to replace a class? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-11 23:54 +0100
Re: How to replace a class? John Harris <niam@jghnorth.org.uk.invalid> - 2016-11-12 18:42 +0000
Re: How to replace a class? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-11 14:46 +0100
Re: How to replace a class? John Harris <niam@jghnorth.org.uk.invalid> - 2016-11-12 14:51 +0000
Re: How to replace a class? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-12 20:13 +0100
Re: How to replace a class? justaguy <lichunshen84@gmail.com> - 2016-11-12 11:35 -0800
Re: How to replace a class? John Harris <niam@jghnorth.org.uk.invalid> - 2016-11-13 11:13 +0000
Re: How to replace a class? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-11-10 23:11 +0100
Re: How to replace a class? justaguy <lichunshen84@gmail.com> - 2016-11-10 15:08 -0800
Re: How to replace a class? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-10 20:37 +0100
Re: How to replace a class? justaguy <lichunshen84@gmail.com> - 2016-11-10 11:59 -0800
Re: How to replace a class? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-10 21:01 +0100
csiph-web