JavaScript form event summary

xiaoxiao2021-03-19  238

JavaScript form event summary

1. ONABORT (NS3, NS4, IE4): This event is generated when the user terminates the open web page.

2. ONBLUR (NS3, NS4, IE3, IE4): An element is generated when an element is lost. For example, the mouse will be generated when you click on the text box.

3. OnChange (NS3, NS4, IE3, IE4): Generated when the content of an element on the web is changed. For example, when you enter text in the text box, it will be generated when you click on the text box.

4. OnClick (NS3, NS4, IE3, IE4) Generates when you click on an element on the web page

5. OnDBLClick (NS4, IE4): Generate when you double-click the element on the web page

6. OneRror (NS3, NS4, IE4): The browser generates the event when an error occurs during the page.

7. ONFINISH (IE4): Events generated when the text in scrolling text is completed at a scrolling

8. The event is generated when the element on the ONFOCUS (NS3, NS4, IE3, IE4) webpage generates this event.

9. ONKEYDOWN (NS4, IE4) Generates this event when any key is pressed

10. OnKeyPress (NS4, IE4) When you press any key and release the event generated by the key

11. Onkeyup (NS4, IE4) Release Press button to generate this event

12. ONLOAD (NS3, 4, IE3, 4) web page or image is completed after completion of the event

13. ONMOUSEDOWN (NS4, IE4) Generates this event when the mouse is pressed on an element of the web page

14. ONMOUSEMOVE (IE3, 4) Generates this event when moving mouse on an element of the web page

15. ONMOUSEOUT (NS3, 4, IE4) Generates this event from an element of the web page

16. ONMOUSEOVER (NS3, 4, IE3, 4) Mouse moves into an element of a web page to generate this event

17. ONMOUSEUP (NS4, IE4) releases the event when the mouse is released

18. The event is generated when the onReset (NS3, 4, IE3, 4) reset form

19. ONRESIZE (NS4, IE4) Changes the event when changing the browser

20. ONSELECT (NS3, 4, IE3, 4) Select the text in the text box to generate this event

twenty one. OnStart (IE4) The text is generated when the text in the scroll text strip starts to generate the event.

twenty two. OnSubmit (NS3, 4, IE3, 4) Generates this event when submitting a form

twenty three. ONUNLOAD (NS3, 4, IE3, 4) Generates events from the current web page

转载请注明原文地址:https://www.9cbs.com/read-130062.html

New Post(0)