HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <input type="text" oncut="myFunction()" value="Try to cut this text"> <p id="point"></p> <script> function myFunction() { document.getElementById("point").innerHTML = "You cut text!"; } </script> </body> </html>
OUTPUT
×

Save as Private