![]() ![]() The primary difference was that Internet Explorer used a collection instead of the function, which matched all other access methods at the time such as document.images and document.forms. You still used an element’s ID to access it through document.all, such as or document.all. In many regards, document.all was the very first version of document.getElementById(). Internet Explorer 4 improve the situation even further by allowing programmatic access of every element on the page via document.all Netscape 4 improved the situation by expanding programmatic access to the proprietary element via document.layers. Internet Explorer 3 and Netscape 3 only allowed programmatic access to form elements, images, and links. There was a time when you could only access certain elements on the page through JavaScript. However, the DOM gives developers access to every part of a webpage through JavaScript. You can call the DOM overly verbose, ill-suited for JavaScript, and somewhat nonsensical, and you would be correct on all counts. If Internet Explorer is a browser that everyone loves to hate, the Document Object Model (DOM) is the API that everyone loves to hate. It may be hard to believe that Internet Explorer is actually to thank for a lot of the features that we take for granted today, but a quick walk through history shows that it’s true. A number of proprietary features became de facto standards and then official standards with some ending up in the HTML5 specification. Believe it or not, Internet Explorer 4-6 is heavily responsible for web development as we know it today. Sometimes it’s hard to remember all of the good that Internet Explorer did before Internet Explorer 6 became the scourge of web developers everywhere. Long before Internet Explorer became the browser everyone loves to hate, it was the driving force of innovation on the Internet. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |