Re-learn the Introduction to JavaScript js

Note: This article as "the science of JavaScript js advanced programming" series of the first chapter.
About "re-learn the JavaScript js advanced programming" is to revisit js-based learning.

JavaScript is a specially designed interactive web scripting language, mainly made up of three distinct parts.

1. ECMAScript

Defined by the ECMA-262, provides core language

2. Document Object Model DOM (provides access to web content and operation methods and interfaces)

DOM is specific to XML and has been extended for HTML-based application, the entire page DOM mapped to a multi-node structure, these nodes in turn contain different types of data, by creating a DOM, we can gain control of the page, delete , adding, replacing any node.

2.1 DOM Level

2.1.1 DOM1

The DOM Core and DOM HTML composition, DOM core provisions of how to map XML-based document structure, HTML DOM DOM is to be expanded on the basis of the core, add objects and methods for the HTML.

2.1.2 DOM2

DOM2 DOM1 on the basis of increased DOM view, events, styles, traversing range and other functions

2.1.3 DOM3

DOM3 on the basis of further DOM2 methods introduced unified way to load and save documents

3. Browser Object Model (BOM)

BOM and processes only the browser window frame, and providing browser interaction methods, and the following functions:

  • Pop new browser window function
  • Move, resize and close the browser window function
  • Provide details of the browser navigator object
  • Provide the browser to load the page information object location
  • Providing a display screen resolution attribute
  • Support for cookie
  • XMLHttpRequest and IE for the custom object ActiveXObject

I welcome the attention of the public tender small number [students]

Guess you like

Origin blog.csdn.net/weixin_34054866/article/details/91363112