JavaScript Event

JavaScript Event
Event is the action of the user who can produce interactivity, in fact events in JavaScript is a click of a mouse button (the only one action that can be set by the HTML). JavaScript allows to associate the event with some functions of methods such as passage of the mouse pointer over a particular zone, change the value, and so forth.

Administrator event allows us to associate an action into an event. The syntax of the event administrator are as follows:

OnEvenement = "Javascript_action_of_function();"

To use hypertext links, then the syntax is as follows:

<a href ="onEvenement =' Javascript_action_of_function ();'> Link </ a>

JavaScript Event


Post a Comment