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