Mega Code Archive

 
Categories / JavaScript Reference / Event Handlers 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>