'onBeforeCut' Example : onBeforeCut « Event Handlers Reference « JavaScript Reference
- JavaScript Reference
- Event Handlers Reference
- onBeforeCut
'onBeforeCut' Example
<html>
<body>
<p class="explanations"
contenteditable="true"
onbeforecut="alert('being copied to the clipboard')">
Cut this text and copy it to the system clipboard by pressing Ctrl+X.
</p>
</body>
</html>
Related examples in the same category