• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2    <head>
3    </head>
4    <body>
5        <textarea onpaste="document.getElementById('result').innerHTML='SUCCESS'">Paste here</textarea>
6        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.
7        <div id="result">FAILURE</div>
8    </body>
9</html>
10