Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #39160
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: JavaScript + DOM, type system |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <DOM-20201119215052@ram.dialup.fu-berlin.de> |
| Date | 2020-11-20 00:01 +0100 |
| Message-ID | <XnsAC7B5164CF3eejj99@194.109.6.166> (permalink) |
ram@zedat.fu-berlin.de (Stefan Ram) wrote on 19 Nov 2020 in comp.lang.javascript: > When "a" is an element, > > a.textContent = 4 > > seems to behave like > > a.textContent = "4" > > , but is there any specification giving the meaning of the > assignment of a number of JavaScript to the textContent > attribute of the DOM? The text-content of a Dom-node must be a string, logic says. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Re: JavaScript + DOM, type system "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-11-20 00:01 +0100
Re: JavaScript + DOM, type system "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-11-19 18:47 -0800
Re: JavaScript + DOM, type system Andrew Poulos <ap_prog@hotmail.com> - 2020-11-20 16:29 +1100
Re: JavaScript + DOM, type system "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-11-20 14:46 +0100
Re: JavaScript + DOM, type system JJ <jj4public@gmail.com> - 2020-11-21 14:47 +0700
Re: JavaScript + DOM, type system Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-11-21 23:27 +0100
Re: JavaScript + DOM, type system "sc...@sauyet.com" <scott@sauyet.com> - 2020-12-02 11:04 -0800
csiph-web