GlobalEventHandlers.onmouseenter

The onmouseenter property of the GlobalEventHandlers mixin is the EventHandler for processing mouseenter events.

The mouseenter event is fired when a pointing device (usually a mouse) is moved over the element that has the listener attached.

Syntax

element.onmouseenter = handlerFunction;
var handlerFunction = element.onmouseenter;

handlerFunction is either null or a JavaScript function specifying the handler for the event.

Specification

Specification Status Comment
HTML Living Standard
The definition of 'onmouseenter' in that specification.
Living Standard

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
onmouseenterChrome Full support 30Edge Full support 12Firefox Full support 10IE Full support 5.5Opera Full support 17Safari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 10Opera Android Full support 18Safari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support
Full support

See also