Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE HTML> <html> <head> <title>Title of the Document</title> </head> <body> <input type="text" id="input"> <script> input.oncut = input.oncopy = input.onpaste = function(evn) { alert(evn.type + ' - ' + evn.clipboardData.getData('text/plain')); return false; }; </script> </body> </html>