Friday, March 18, 2011

How to detect mouse right click paste event in JQuery ?

$('#controlId').bind('paste', null, function(e) {
  if(!e.keyCode){
       /*
         since no key was down at the time of the event we can assume it was
          from the toolbar or right click menu, and not a ctrl+v
       */
    }
});

http://rayaspnet.blogspot.com/2011/01/how-to-implement-textchanged-event.html

No comments:

Post a Comment