JavaScript Reference/Event Handlers Reference/onCopy
Содержание
"onCopy" Example
<source lang="javascript">
<html> <body>
Copy this text to the system clipboard.
</body> </html>
</source>
"onCopy" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <address> | | |<area> | | | |
| || | | | | |
| |<dir><custom> | | |
| | | |
- | | | <fieldset> | | |<form> <hn> | | |
|| |<img> <legend> |
| |- <listing> | | |<menu> <nobr> | | |
| | |
| | | | | || | | | | | <td> | | |<th> <tr> | | | | | || +----------------+--------------------------------------------------------------+ </source>
"onCopy" Properties
<source lang="javascript"> +----------------+--------------------------------------------------------------+ | Properties |altKey altLeft | | |cancelBubble clientX | | |clientY ctrlKey | | |ctrlLeft dataFld | | |dataTransfer offsetX | | |offsetY returnValue | | |screenX screenY | | |shiftKey shiftLeft | | |srcElement type | | |x y | +----------------+--------------------------------------------------------------+
</source>
"onCopy" Syntax and Note
<source lang="javascript"> Note:
This event fires when the user copies the selection to the clipboard.
</source>