Window objects of HTMLDOM series tutorials

Source: Internet
Author: User
The window object is the top-level object in the JavaScript level. Each window (including the browser window and Framework window) corresponds to a window object. When we reference its object or method, we can

The window object is the top-level object in the JavaScript level. Each window (including the browser window and Framework window) corresponds to a window object. When referencing its object or method, we can use "window. "xxx" format or directly use "xxx", but in actual application, you do not need to add a window. Next, let's take a closer look at the properties and methods of the window object.

Closed attributes:

Returns a Boolean value indicating whether the window is closed. When the browser window is closed, the window object of the window will not disappear and it will continue to exist. In this case, the closed attribute of the window will be true.

The specific usage is as follows:

123456789101112131415161718192021

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.