<html> <head> </head> <body> <textarea onpaste="document.getElementById('result').innerHTML='SUCCESS'">Paste here</textarea> This tests that onpaste handlers are called. To test this, paste some text in the textarea below. The result below should change from FAILURE to SUCCESS. <div id="result">FAILURE</div> </body> </html>