I have to take the paste event of a text area using JQuery. I have tried the following code but it is not working...
$(document).ready(function() { $(\'#t
You can do something like this
$("#txtcomplaint").bind('paste', function(e) { var elem = $(this); setTimeout(function() { // gets the copied text after a specified time (100 milliseconds) var text = elem.val(); }, 100); });