I have to use here jquery keyup to detect if user enter any text or not, but my problem is if user use paste the text using mouse, it won\'t be able to dete
In this particular situation enough will be just bind to the input event:
$('textarea').bind("input", function() {});