Mega Code Archive

 
Categories / JavaScript Reference / Event Handlers Reference
 

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>