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 insta
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!'); }); });