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

'onBeforeCopy' Example

    
<html>
<body>
<p onbeforecopy="alert('copied to the clipboard')">
    Copy this text to the system clipboard by pressing Ctrl+C.
</p>
</body>
</html>

    
      
      








Related examples in the same category

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