[Solved] JavaScript alert message


Something like this maybe?

<html>
<body>

<input type="text" oncopy="myFunction()" value="Try to copy this text">

<script>
function myFunction() {
    alert('you tried to copy')
}
</script>

</body>
</html>

1

solved JavaScript alert message