Mega Code Archive

 
Categories / JavaScript DHTML / Event Onmethod
 

OnPaste Example

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