News:

Daffodil Institute of IT (DIIT) Forum has just been opened for you. Hope all DIIT students and Faculty will contribute in this Forum. Whenever you like to join, please register and use your institute email ID i.e @diit.info, @daffodil.ac or Daffodil any email ID. Your detailed profile will enrich our database. Hope all of the membersí active participation will make our Institute one of the best Institute in the global era. All of you should try to circulate this forum's information to your class mates, year mates, senior friends, junior friends and even to your face book networks too. This will make us proud of our DIIT web site. At the time of your registration please use DIIT email ID only and give your picture so that we can identify you clearly. Please be specific in your discussions, suggestions or in any kind of comment. Hope you will be positive in your attitude.

Author
Topic: JAVASCRIPT DOM MODEL (Read 1554 times)

JavaScript was released by Netscape Communications in 1996 within Netscape Navigator 2.0. Netscape's competitor, Microsoft, released Internet Explorer 3.0 later the same year with a port of JavaScript called JScript. JavaScript and JScript let web developers create web pages with client-side interactivity. The limited facilities for detecting user-generated events and modifying the HTML document in the first generation of these languages eventually became known as "DOM Level 0" or "Legacy DOM." No independent standard was developed for DOM Level 0, but it was partly described in the specification of HTML 4.Legacy DOM was limited in the kinds of elements that could be accessed. Form, link and image elements could be referenced with a hierarchical name that began with the root document object. A hierarchical name could make use of either the names or the sequential index of the traversed elements. For example, a form input element could be accessed as either "document.formName.inputName" or "document.forms[0].elements[0]."The Legacy DOM enabled client-side form validation and the popular "rollover" effect.

Intermediate DOM

In 1997, Netscape and Microsoft released version 4.0 of Netscape Navigator and Internet Explorer respectively, adding support for Dynamic HTML (DHTML), functionality enabling changes to a loaded HTML document. DHTML required extensions to the rudimentary document object that was available in the Legacy DOM implementations. Although the Legacy DOM implementations were largely compatible since JScript was based on JavaScript, the DHTML DOM extensions were developed in parallel by each browser maker and remained incompatible. These versions of the DOM became known as the "Intermediate DOM.