Window
History, move, back.
Location Bar
Document content
History
History.forward ()//forward to next page
History.back ()//Return to previous page
History.go (n);
N is-1 returns to the previous page
N is 1 forward next page
N 0 Refreshes the current page
Location.
Host set and return port number for hostname/url
Hostname setting and returning the host name of the URL
href set and return full URL to jump
Hash setting and return #开始的URL
Search settings and return? URL to start
Reload () Refresh
Replace () replaces the current document with a new document
Document
Write ()
getElementById () returns the first object of the specified ID based on the ID
getElementsByTagName () returns a collection of objects of the specified name based on the label name
GetElements byname () returns a collection of objects of the specified name by name
InnerHTML ("content");
Getelementbytagname ("id"). innerhtml=;
Firstelementchild
Lastelementchild
getElementsByTagName
Getelementbytagname
getElementsByTagName () [0]
GetAttribute ("");
SetAttribute ("attribute name", "" attribute value ");
CreateElement
Anode.appendchild (BNode)
InsertBefore (Anode,bnode)
Node.clonenode (True or FALSE)
True clones all child nodes false clones the node includes properties
RemoveChild (node) Delete node
ReplaceChild (node replaced, node replaced)
JS Effect 1