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