Java Script Basics (iv) BOM model

Source: Internet
Author: User

First, BOM model

The BOM model, also known as the Document Object model, contains browser-related properties and methods such as actions, forward and backward buttons, control of the address bar, closing of the browser window, opening a new window, and so on. Browser It contains several main objects.

1. Window object

The Window object refers to the entire Windows object, which can be manipulated by manipulating the properties and methods of the Window object, such as opening and closing a window.

Properties and method queries commonly used by window:

Http://www.w3school.com.cn/jsref/dom_obj_window.asp

2. History Object

History refers to the browser's access to historical records, through the properties and methods of the old object to implement the browser's forward and backward functions.

Http://www.w3school.com.cn/jsref/dom_obj_history.asp

3. Location Object

The Location object corresponds to the address bar of the browser. The Location object enables you to jump through a page.

Http://www.w3school.com.cn/jsref/dom_obj_location.asp

4. Document Object

The Document object refers to the content of the browser Web page. The Document object allows you to control the elements on the page.

Http://www.w3school.com.cn/jsref/dom_obj_document.asp

See the W3chool help document for a detailed explanation, this is not the map!

Java Script Basics (iv) BOM model

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.