JavaScript Event Handler
JavaScript Event Handler In this JavaScript tutorial, you will learn about using event handlers along with events for each HTML tag. Using Event Handler in JavaScript: Event Handlers are used in JavaScript by placing the name of the event handler inside the HTML tag associated with object. This is followed by =’JavaScript code’, the code in JavaScript which must execute when the event fires. The events for each HTML tag are as follows: <A> click (onClick) mouseOver (onMouseOver) mouseOut (onMouseOut) <AREA> mouseOver (onMouseOver) mouseOut (onMouseOut) <BODY> blur (onBlur) error (onError)…
Read More