With the help of HTML element we can launch into execution a JavaScript function. The mecanism which allows this belongs to the events. If, for example, the user make a click on the surface of button, the event onclick (for button) has taken place. After an event, a particular function can be launched into execution. The means by which we can achive this will result from the following examples.
Ещё видео!