Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • DOM in HTML JQUERY

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 224
    Comment on it

    DOM Document Object Model

    DOM is structure that is used to invoke the elements of a page or a script file. It is the hierarchy of structure that a particular document have where we want to invoke the elements of that particular document.

    For ex : <html>
               <body>
                <div id="maindiv">
                 </div>
                </body>
                 </html>
    

    When we want to manipulate the div we go through it first the document than its associated id

    document.getElementById("maindiv").innerHTML="DOM applied successfully"; 
    

    Main container is document where div resides so before calling div we should call the document

 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: