BOM model browser object model (browser object model), the browser itself can be operated through some objects built into the browser. DOM is used to operate the page, and BOM is used to operate the browser itself. There is no standard for BOM, but most browsers support the following objects 1. Window object: represents the entire window (1) open method: (name, characteristics, height and width, toolbar, scroll bar) (2) setTimeout method :setTimeout(fn, milliseconds); //The first parameter must be a function name (no brackets allowed)
&n1. Xiaoqiang’s HTML5 mobile development road (32) - JavaScript review 7
Introduction: BOM model browser object model (browser object model), the browser itself can be operated through some objects built into the browser.
2. Xiaoqiang’s HTML5 mobile development road (31) - JavaScript review 6
Introduction: HTML DOM model: Before the emergence of w3c dom model (standard), each browser supported some dom operations
3. Xiaoqiang’s HTML5 mobile development road (30) - JavaScript review 5
##Introduction: The first way: Find var obj based on id = document.getElementById(id); //document is an instance of HTMLDocument
4. Xiaoqiang’s HTML5 mobile development road ( 29)——JavaScript Review 4
##Introduction: In the first stage, the js engine () first scans the entire javascript code. When encountering