Tutorial by Examples

The BOM (Browser Object Model) contains objects that represent the current browser window and components; objects that model things like history, device's screen, etc The topmost object in BOM is the window object, which represents the current browser window or tab. Document: represents current...
The most important object in the Browser Object Model is the window object. It helps in accessing information about the browser and its components. To access these features, it has various methods and properties. MethodDescriptionwindow.alert()Creates dialog box with message and an OK buttonwindow....
The Window Object contains the following properties. PropertyDescriptionwindow.closedWhether the window has been closedwindow.lengthNumber of <iframe> elements in windowwindow.nameGets or sets the name of the windowwindow.innerHeightHeight of windowwindow.innerWidthWidth of windowwindow.scree...

Page 1 of 1