Note | ||
---|---|---|
| ||
As of July 25th, 2023, there is a content freeze on this page. |
This function attaches an event to an object. For example, you can attach a “click” event to a button. The same can be accomplished by assigning the onclick property on a button; however, with the addEvent() function, you can attach multiple unrelated “click” events to the same object.
...