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

Save as Private