HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <input type="text" value="cut me" oncut="myFunction()"> <script> function myFunction(){ alert("You cut the text"); } </script> <p><strong>Note</strong> : Press ctrl + x / cmd + x / use mouse</p> </body> </html>
OUTPUT
×

Save as Private