What is a BOM
- The BOM is an abbreviation for the browser object model .
- BOM provides an object that is independent of the content and interacts with the browser window
- Because the BOM is primarily used to manage the communication between Windows and Windows, its core object is window
- A BOM is composed of a series of related objects , and each object provides many methods and properties
- BOM lack of standard, JavaScript Grammar Standardization Organization is ECMA,DOM standardization Organization is the
- The BOM was originally part of the Netscape browser standard
BOM Chart BOM object including Window object
is the top-level (core) object of the BOM, all of which are extended through it, and can also be referred to as child objects of window. Because window is the top-level object, you can call its child objects without displaying the indicated window object, for example, the following two lines of code are the same:
document.write ("www.dreamdu.com");
Window.document.write ("www.dreamdu.com");
Properties and methods of the Window object:
All JavaScript global objects, functions, and variables automatically become members of the Window object.
A global variable is a property of a Window object.
A global function is a method of a Window object.
JavaScript Learning Note 3 Introduction to JavaScript and BOM