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


Groups > comp.lang.javascript > #31716

Re: How to reference an updated document object and to have all of its elements and associated values if any as well?

Newsgroups comp.lang.javascript
Subject Re: How to reference an updated document object and to have all of its elements and associated values if any as well?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <62558672-b8d4-495a-8ccf-4bce9399d64d@googlegroups.com> <o0c7sb$lr4$1@news.albasani.net>
Date 2016-11-14 14:16 +0100
Message-ID <XnsA6C09132C927Ceejj99@194.109.6.166> (permalink)

Show all headers | View raw


Martin Honnen <martin.honnen@gmx.de> wrote on 14 Nov 2016 in
comp.lang.javascript: 

>> document.all was for old IE browser only, hence, irrelevant for other
>> modern browsers. 
> 
> document.getElementsByTagName('*') gives you all elements as an 
> HTMLCollection , see 
> https://dom.spec.whatwg.org/#concept-getelementsbytagname/

Indeed, but in fact it is a Nodelist in WebKit browsers.

===========

document.querySelectorAll('*')

seems to return an HTMLCollection there.

=============

An HTMLCollection is 'live', is a Nodelist 'live' less alive?

-- 
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


Thread

How to reference an updated document object and to have all of its elements and associated values if any as well? justaguy <lichunshen84@gmail.com> - 2016-11-13 10:01 -0800
  Re: How to reference an updated document object and to have all of its elements and associated values if any as well? Martin Honnen <martin.honnen@gmx.de> - 2016-11-14 12:40 +0100
    Re: How to reference an updated document object and to have all of its elements and associated values if any as well? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-14 14:16 +0100
    Re: How to reference an updated document object and to have all of its elements and associated values if any as well? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-11-14 17:26 +0100
      Re: How to reference an updated document object and to have all of its elements and associated values if any as well? justaguy <lichunshen84@gmail.com> - 2016-11-14 12:48 -0800
  Re: How to reference an updated document object and to have all of its elements and associated values if any as well? JJ <jj4public@vfemail.net> - 2016-11-14 18:51 +0700

csiph-web