String object: Object Returns the length of the string .length
Creating and array-valued
An array of common methods and properties
JavaScript pop:
Alert box: window.alert () to prompt the user for certain information
Confirmation box: window.confim () is used to verify whether to accept a user operation
Prompt box: window.prompt () prompts the user to enter a user value before entering a page
Window.location objects:
location.href returns the URL of the current page
location.pathname return path name of the URL
location.assign () to load a new page
JavaScript Timing Event:
setInterval () specifies the number of milliseconds that perform the specified stop code
The clearInterval the function code () for stopping setInterval () method is performed
SetTimeout execute specified code () to pause the specified number of milliseconds after
the clearTimeout () function is used to stop execution of code setTimeout () method
Find HTML elements:
document.getElementById () Gets the id attribute of the object by
document.getElementsByTagName () acquired by the tag attribute objects
document.getElementByClassName () Gets the object properties by calss