What is Event in JavaScript...???
Every time anything happens to a page or an object in the page an event is triggered.
Here few examples of events.
- onload
- onChange
- onMouseOver
- onResize
- onError
- onUnload
- onSubmit
- onAbort
- onClick
We can use these events to trigger our scripts, or more correctly, to trigger a function.
No comments:
Post a Comment