Form handling onsubmit, onchange, onselect, onblur, onfocus
7. Summary and References
Summary
Form handling is the processing of forms for interaction with the user and retrieval of the inputted values for a server or a JavaScript code to use. By using HTML events and its corresponding event handlers, we can track actions done by the user to trigger a function or other events to process the values from the user. The event handlers that we have discussed for this module are onsubmit, onselect, onchange, onfocus, and onblur.
References
W3Schools. (n.d.). onchange Event. Retrieved from w3schools.com: https://www.w3schools.com/jsref/event_onchange.asp
W3Schools. (n.d.). HTML onchange Attribute. Retrieved from w3schools.com: https://www.w3schools.com/tags/att_onchange.asp
W3Schools. (n.d.). HTML onselect Event Attribute. Retrieved from w3schools.com: https://www.w3schools.com/tags/ev_onselect.asp
W3Schools. (n.d.). onselect Event. Retrieved from w3schools.com: https://www.w3schools.com/jsref/event_onselect.asp
W3Schools. (n.d.). onblur Event. Retrieved from w3schools.com: https://www.w3schools.com/jsref/event_onblur.asp
W3Schools. (n.d.). HTML onblur Event Attribute. Retrieved from w3schools.com: https://www.w3schools.com/tags/ev_onblur.asp
MDN Contributors. (2021, February 20). GlobalEventHandlers.onselect. Retrieved from MDN Web Docs: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselect
isolani. (n.d.). Simple Javascript and Forms. Retrieved from isolani.co.uk: http://isolani.co.uk/articles/simpleJavascriptAndForms.html