最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

releaseCapture Method

Internet Development Index

Removes mouse capture from the object in the current document.

Syntax

object.releaseCapture()

Return Value

No return value.

Remarks

For releaseCapture to have an effect, you must set mouse capture through the setCapture method.

You can invoke the releaseCapture method on the document object. The releaseCapture method makes it unnecessary to determine which element has capture to programmatically release it. Other actions that release document capture include displaying a modal dialog box and switching focus to another application or browser window.

Example

This example invokes the releaseCapture method on the document object.

<BODY onload="oOwnCapture.setCapture();"
onclick="document.releaseCapture();">
<DIV ID=oOwnCapture
onmousemove="oWriteLocation.value =
event.clientX + event.clientY";
onlosecapture="alert(event.srcElement.id +
' has lost mouse capture.')">
<TEXTAREA ID=oWriteLocation COLS=2></TEXTAREA>
</DIV>
<HR>
<DIV ID=oNoCapture>
<P>Click the document to invoke the releaseCapture method.</P>
</DIV>
</BODY>
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

There is no public standard that applies to this method.

Applies To

A, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, CUSTOM, DD, DFN, DIR, DIV, DL, document, DT, EM, EMBED, FIELDSET, FONT, FORM, hn, HR, I, IMG, INPUT type=submit, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=text, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, NOBR, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP

See Also

About Mouse Capture, onlosecapture, setCapture
峨山| 仪陇县| 安福县| 灵石县| 东莞市| 昆明市| 莒南县| 常宁市| 灵川县| 稻城县| 晋中市| 凉城县| 兴城市| 香港| 定安县| 荥阳市| 龙井市| 偃师市| 泰顺县| 东宁县| 晋宁县| 昌图县| 砚山县| 吉隆县| 连云港市| 东港市| 刚察县| 麦盖提县| 运城市| 馆陶县| 南投县| 光山县| 夏河县| 罗定市| 博客| 富裕县| 仁怀市| 呼玛县| 禹城市| 应用必备| 义马市|