163
rated 0 times
[
168]
[
5]
/ answers: 1 / hits: 20530
/ 12 Years ago, mon, august 27, 2012, 12:00:00
I know we can use bind paste event as below:
$('#id').bind('paste', function(e) {
alert('pasting!')
});
But the problem is, that it will call before the pasted text paste. I want a function to be triggered after the right click -> paste text pasted on the input field, so that I can access the pasted value inside the event handler function.
.change()
event also doesn't help. Currently I use .keyup()
event, because I need to show the remaining characters count while typing in that input field.
More From » jquery