Javaee--javascript

Source: Internet
Author: User
Tags tag name

Statement: The material used in this column is written by the VIP students of the Kay Academy, who has the right to be anonymous and has the final right to interpret the article; The Edith Academy is designed to promote students to learn from each other on the basis of public notes.

Javascript

Document Object (Doc object):
• methods
getElementById ("ID search") returns an element

Returns the NodeList node collection:
Getelementsbyclassname ("Name of the style")

getElementsByTagName ("tag name")
Getelementsbyname ("name")
Write (tag content) to body output
Writeln (tagged content);

Open () Opens a new Document object and then re-prints the new tag

Close () off output
• Properties
Title page Titles
Body direct access to body tag object
LastModified returns the date and time the document was last modified
Referrer page address of the jump
URL Current URL

Document Object collection: All Forms[]

InnerHTML Marking Overall information
InnerText Content Information

Window.eval ()

Javaee--javascript

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.