'onBeforeCut' Example : onBeforeCut « Event onMethod « JavaScript DHTML






'onBeforeCut' Example

    
<html>
<body>
<p class="explanations" 
   contenteditable="true" 
   onbeforecut="alert('being copied to the clipboard')"> 
     Cut and copy text to the system clipboard by pressing Ctrl+X.
</p>
</body>
</html>

    
      
      








Related examples in the same category