JavaScript DHTML/Event onMethod/onPaste

Материал из Web эксперт
Перейти к: навигация, поиск

"onPaste" Example

   <source lang="html4strict">
   

<html> <body>

Copy and paste text into the textarea to triger the onpaste event

<textarea cols=60 onpaste="alert("The text is being pasted")"> </textarea> </body> </html>


     </source>