JavaScript support for the DOM template of the Consortium

Source: Internet
Author: User
Tags object model

This Document Object model allows access to all document content and modifications, as regulated by the World Wide Web Consortium (WWW). This pattern is supported by almost all modern browsers.

Most of the traditional DOM features in the Consortium DOM specification, but also add new important features. In addition to supporting forms[], images[] and other array properties of document objects, it defines methods that allow scripts to access and manipulate any document elements, not just specialized component forms and images.
Document properties in the Consortium DOM:

This model supports all the properties provided by the traditional DOM. In addition, this is a document property that you can use to access the list using the?

Document methods in the Consortium DOM:

This model supports all methods provided by the traditional DOM. In addition, here is a list of methods supported by the consortium's DOM:

Example:

This is (Access and settings) the use of the document elements of the consortium DOM is easy to manipulate. Any similar Getelementbyid,getelementsbyname,orgetelementsbytagname method can be used.

The following is an example of accessing document properties using the method of the PDF:

?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 The

Note: The form and content of this example return objects, and we will have to access their values using the properties of these objects that are not discussed in this tutorial.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.