asp.net.ph

onlosecapture Event

DHTML Events


Fires when the object loses the mouse capture.

Syntax


Inline HTML <element onlosecapture = "handler" ... > All platforms
Event property object.onlosecapture = handler ECMA-262 Language Specification
Named script <script FOR=object EVENT = onlosecapture> Internet Explorer® only

Remarks


Bubbles No
Cancels No
To invoke Cause the object to release mouse capture.
  • Set mouse capture to a different object.
  • Change the active window so that the current document using mouse capture loses focus.
  • Invoke the releaseCapture method on the document or object.
Default action Sends the event notification to the object that is losing the mouse capture.

Event Object Properties

While event handlers in the Document Object Model do not receive parameters directly, the handler can query the event object for data.

Event Object Properties


Example

This example demonstrates the occurence of the onlosecapture event on an object when the releaseCapture method is invoked.

Sample Code


See Also

releaseCapture, setCapture




Contents
HTML Elements
HTML Element Attributes
CSS Attributes
DOM Objects
DOM Object Properties
DOM Events Reference
DOM Methods Reference
DOM Collections Reference
 

Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph