Mega Code Archive

 
Categories / JavaScript Reference / Event Handlers Reference
 

OnPaste Example

<html> <body> <p>Copy and paste this text into the textarea element.</p> <textarea cols=60 onpaste="alert('The text is being pasted')"> </textarea> </body> </html>