Part:15 (Mouse event in Javascript) Java Script tutorial for Beginners in Urdu/Hindi by Haris Ahsan



Mouse Events:
Mouse events occur when the user clicks the mouse button.

1. onmousedown: Occurs when the mouse button is pressed
2. onmouseup: Occurs when the mouse button is released
3. onclick Occurs when the mouse button is pressed and released
4. ondblclick Occurs when the mouse button is
double-clicked
5. onmousemove Occurs when the mouse pointer is moved from one location to other
6. onmouseover Occurs when the mouse pointer is moved over the
element
7. onmouseout Occurs when the mouse pointer is moved out of the
element

source

Leave a Reply

Your email address will not be published. Required fields are marked *