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

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?

Please.


Mvh Ane K Due
Please confer with these sites
http://bytes.com/topic/javascript/answers/702868-document-all-vs-document-getelementbyid
http://my.opera.com/hallvors/blog/2008/01/25/document-all-true

Received on Tuesday, 5 July 2011 06:34:34 UTC