W3C home > Mailing lists > Public > site-comments@w3.org > July 2011

Is it TRUE that the document.all-collection has become obsolete?

From: <MvhAneK@gmail.com>
Date: Fri, 01 Jul 2011 05:33:08 +0000
Message-Id: <90e6ba61554a37ba7904a6d595ad@google.com>
To: site-comments@w3.org
Hi there,

I've just taken up web-programming again , and - as before - I feel helplessly behind.
But that goes with the territory.
Sometimes, though, I get very confused, as to which methods to use.

For instance: before I used to use the document.all-collection a lot.
I think the DOM is a smart way to address everything in a web-document.

But then I read that the Document.all is obsolete, and that it is downright stupid to use it.
That I should use the getElementByID instead.

But I think that making the document.all-collection obsolete wil decrease the control the developers have over what they're doing.

So my question is: whats up and down in this?


Mvh Ane K Due
Please confer with these sites
Received on Tuesday, 5 July 2011 06:34:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:43 UTC