Q:

How to fade out textarea after copying the value? 

I have this basic HTML code:
<textarea id="textarea" cols="30" rows="10">This is sample value</textarea>

How can I fade out the textarea after 1 second after user press Ctr + C after selecting or right click and copy the text This is sample value in the textarea? 

A:

You can use jQuery copy event along with setTimeout function:
$('#textarea').on('copy', function() {    
    setTimeout(function() {
        $('#textarea').fadeOut();
    }, 1000);
});

FIDDLE

