JavaScript DHTML/Event onMethod/onBeforePaste
"onBeforePaste" Example
<source lang="html4strict">
<html> <body>
Copy and paste some text into the textarea below.
<form> <textarea cols="60" onbeforepaste="alert("The text is on the verge of being pasted")"> </textarea> </form>
</body> </html>
</source>