'onLoseCapture' Example : onLoseCapture « Event onMethod « JavaScript DHTML






'onLoseCapture' Example

    
<head>
</head>
<body onload="captureMode.setCapture()" 
      onclick="captureMode.releaseCapture()">
    <div id="captureMode" onlosecapture="alert('Mouse capture terminated.')">
    <p>Mouse capture is currently turned on. 
       To terminate mouse capture mode, click this page!</p>
</div>
</body>

    
      
      








Related examples in the same category