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


Groups > comp.lang.javascript > #39160

Re: JavaScript + DOM, type system

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost2.xs4all.net!not-for-mail
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 Fri, 20 Nov 2020 00:01:52 +0100
Message-ID <XnsAC7B5164CF3eejj99@194.109.6.166> (permalink)
User-Agent Xnews/2009.05.01
Lines 21
NNTP-Posting-Host 78b4865f.newszilla.xs4all.nl
X-Trace G=m1PSHzSa,C=U2FsdGVkX19X20cBz2MIiTyNUp5mgE2K/VBV+9b7Via7Tef+CWARM5Jjay/JfBcpNBRc1UPfXZMTyn8VJ1cJ/zrQPzU8YTpPaWFVoCotmcvpOEE+u239K7uK69zDlY9q
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.javascript:39160

Show key headers only | View raw


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


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