jQuery mousemove() Event

Last Updated Jul 21, 2015, 12:00:06 PM





jQuery mousemove() Event

jQuery mousemove() event in jquery is used to bind an event handler to the javascript “mousemove” event.

Syntax

jQuery mousemove() method behaviour can also be performed by .on( "mousemove", handler ) and .trigger( "mousemove" ). Basically mousemove() event will be fired when mouse pointer moves inside the element.

Example

In the above example, we can analyse when the mousedown and mouseup event occurs when a mouse moves inside the HTML element.

Output
jquery mousemove() method

Try It Now

Other Advanced jQuery Events you might want to learn
jQuery Complete Events Reference

jQuery Events

jQuery Document Events

jQuery Keyboard Events

jQuery Mouse Events


Sources and Credits

The content and methods in the tutorial has been referred and updated with jQuery API and The jQuery Foundation

Last Updated Jul 21, 2015, 12:00:06 PM