Explain event handling in Javascript.
Answers
Answered by
1
Elements within a document can also be assigned event handlers. For example: ... Sometimes we want to execute a JavaScript when an event occurs, such as when a user clicks a button. Events are normally used in combination with functions, and the function will not be executed before the event occurs!
Similar questions