34 - Form Events | Events in JavaScript | JavaScript Tutorial for Beginners

preview_player
Показать описание
onblur: Fires the moment that the element loses focus
onchange: Fires the moment when the value of the element is changed
oncontextmenu: Script to be run when a context menu is triggered
onfocus: Fires the moment when the element gets focus
oninput: Script to be run when an element gets user input
oninvalid: Script to be run when an element is invalid
onreset: Fires when the Reset button in a form is clicked
onsearch: Fires when the user writes something in a search field for input="search")
onselect : Fires after some text has been selected in an element
onsubmit: Fires when a form is submitted
Рекомендации по теме
Комментарии
Автор

Dear, is it possible to add multiple events through one line of code OR only use one function?

MalikMazhar
Автор

excellent video on javascript events but there is background noise

daily_thoughts
visit shbcf.ru