detect paste on input box
jquery
Solution
You can bind these events like so:
$(document).ready(function() {
$("#Text1").bind('copy', function(e) {
alert('copying text!');
});
$("#Text1").bind('paste', function(e) {
alert('pasting text!');
});
$("#Text1").bind('cut', function(e) {
alert('cut text!');
});
});
Problem
I have inputbox. When page load, i use mouse to right click inputbox and choose paste from contextmenu. when text get pasted, which event to use to alert text instantly as soon as paste happens? i use "input paste" but not work in IE