'onCut' Example : onCut « Event Handlers Reference « JavaScript Reference

'onCut' Example

    
<html>
<body>
<p contenteditable="true" 
   oncut="alert('The text is cut and copied to the clipboard')">
   Cut and copy this text to the clipboard by pressing Ctrl+X.
</p>
</body>
</html>

    
      
      








Related examples in the same category

1.'onCut' Syntax and Note
2.'onCut' Properties
3.'onCut' is applied to