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.