Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Document Object Model in javascript

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 139
    Comment on it

    Document object model in javascript:-

    A document object model represents the document in the window that is display at your screen it has various properties that refer to other objects and allow to access and modified content and that way is know as Document Object Model.

    It is language-neutral interface that allows programs and scripts to dynamically access and update the content and style of the document.

    DOM model consist of four Objects:

    1. Window Object: It represents an open window and have these types of members:
      • Events: click(), abort(), change(), focus(), keyup(), keydown() etc.

      • Methods: AddChannel(), addEventListener(), Alert(), AddService(), confirm(), close() etc

      • Properties: ActiveXobject(), console(), scrollbar() and returnValue()
    2. Document Object: Each HTML document gets loaded first into the window and become a object.It contain the content of the HTML page
    3. Form Object:This object will correspond to an HTML input form constructed with in the ... tag. It will submitted by calling the submit method on clicking the submit button like reset() and submit()
    4. Form control Object:It contain all the controls on a form, report or subform and with another control. It is a member of a Form, Report and Subform objects.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: