What is event attribute? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

What is event attribute?

7th Oct 2017, 4:57 PM
Kunal Kumar
Kunal Kumar - avatar
2 Answers
+ 10
Events attribute help you to execute some code when a special condition is true, for example "onKeyDown" (when a letter of the keyboard is pressed) or "onSubmit" (when a form is submitted) PS : I'm French so maybe my English isn't very good... :(
9th Oct 2017, 10:20 AM
Mattéo
7th Oct 2017, 7:58 PM
Scooby
Scooby - avatar