In the js learning process, the most basic knowledge must be clarified. No matter which web language is used, JavaScript frontend cooperation is indispensable.
The most basic knowledge must be clarified during js learning.
Neither the web language nor the js front-end cooperation is required.
Xiao Han collects trigger events here
Event Name Description
OnClickClick
OnChangeThe text content or the options in the drop-down menu are changed.
OnFocusObtain the focus, indicating that the cursor is obtained in the text box.
OnBlurIf the focus is lost, the cursor is lost in the text box.
OnMouseOverHover over the image
OnMouseOutMove the mouse out of the area where the image is located.
OnMouseMoveMove the mouse to move above the Layer
OnLoadWebpage document loading events
OnSubmitForm submission event
OnMouseDownPress the mouse
OnMouseUpMouse
Text Box event processing
Js events
Text Box event
OnChangeThe value of the text box is modified.
OnFocusHow to move cursor to text box
Focus ()Get focus, that is, get the mouse cursor
Select ()Select the text content to highlight the attributes of the input area
ReadonlyRead-only. The content in the text box cannot be modified.