JavaScript mouse events
In this video we will discuss the commonly used JavaScript mouse events. Most browsers support these events. mouseover - Occurs when the mouse pointer is moved over an element mouseout - Occurs when the mouse pointer is moved out of an element mousemove - Occurs when the mouse pointer is moving while it is over an element mouseup - Occurs when the mouse button is released over an element mousedown - Occurs when the mouse button is pressed over an element click - Occurs when the mouse button is clicked. mousedown, mouseup & click events occur in sequence dblclick - Occurs when the mouse button is double-clicked. mousedown, mouseup, mousedown, mouseup, click & dblclick events occur in sequence contextmenu - Occurs when the mouse right button is clicked. mousedown, mouseup & contextmenu events occur in sequence .