Abakada HTML Demo: onlosecapture Event Example


Mouse capture has been set for this document at load time using the setCapture method. This will track the mousemove event anywhere in the document.

X Y

Click anywhere in the document to invoke the releaseCapture method, whereby the onlosecapture event will fire, which in this example, triggers a notification.

Note that at releaseCapture on the BODY, mouse movement is still tracked for the DIV.


View Source   Exit

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.