Mega Code Archive
Categories
/
JavaScript Tutorial
/
Event
Event target
The target property refers to the object on which the event takes place.
Using the target property of the event object
Choose a button and click on it.