+ 2

Why we use event handling in JS?

10th Dec 2016, 9:48 AM
keerthiga
keerthiga - avatar
4 Answers
+ 2
It is used to make webpages more attractive and user friendly. Like : generally we like to use mouse to select anything in system instead of selecting it by keyboard
25th Dec 2016, 11:43 AM
Ajay Agrawal
Ajay Agrawal - avatar
0
To trigger code.
10th Dec 2016, 10:22 PM
David Lee
David Lee - avatar
0
to make our website dynamic
11th Mar 2017, 12:01 PM
elkhayari
elkhayari - avatar
- 1
suppose you, want some animation to happen when user opens your website, so opening your site can be considered an event , so based on that event it ll start animation function automatically when event detected. that's y it's critical, for dynamic websites
10th Dec 2016, 9:57 AM
Morpheus
Morpheus - avatar