window Object

By: Dusty Arlia
Published on Tuesday, July 23, 2013, 02:47 PM
Last Updated on Saturday, July 18, 2015 at 11:59 PM
Total Updates: 3

The window object represents an open window in a browser. All the major web browsers support the window object, but there is no standard that defines it. Web developers use the window object to react to events in the browser like mouseovers, clicks, and timers. The window object gets a lot of its functionality from the event models provided by the browser manufacturers. There are multiple event models and several levels of support for these models across the different web browsers. This means you need to program for cross-browser compatibility. When working with events, using jQuery can simplify this process. jQuery accounts for the differences in both event-model support and model implementation within browsers.

If your HTML document contains frames (the <frame> or <iframe> elements), the web browser will create a window object for the HTML document, and another window object for each frame.

Comments:

Ad: