+ 3
What is the use of event in JavaScript?
4 Answers
+ 4
To detect when a button is clicked, a key on a keyboard is pressed, when the device is turned around, etc.
+ 2
Event is a situation where some digital activities are occuring & controlled, activated,submitted, recorded. etc
+ 1
Event is an action performed at runtime
There are several type of events in Javascript
onclick
ondbclick
onfocus
onblur
onkeyup
onkeydown
onmouseover
onmouseout
onsubmit
onload
onunload
onchange
some are
keyboard events
mouse events
form events
+ 1
Function related to event