JavaScript Learning Note 3 Introduction to JavaScript and BOM

Source: Internet
Author: User
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

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.