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






'onBeforePaste' Example

    
<html>
<body>
   <p>Copy and paste some text into the textarea below.</p>
   <form>
   <textarea cols="60" 
             onbeforepaste="alert('The text is on the verge of being pasted')">
   </textarea>
   </form>
</body>
</html>

    
      
      








Related examples in the same category