I want to catch the insert event with a right click and paste into the text box. I have done this:
$(window).bind('paste', function(event) {
pasteText();
return false;
});
and it works fine. Therefore, when the insert is pressed, a small pop-up window is displayed. I want this popup to appear on the mousedown event. I mean, when I click "Insert" (mousedown), then I want to see a popup. Is it possible?
Thanks in advance
source
share