/ Published in: jQuery

To detect copy, paste and cut behavior, you just need to bind the corresponding event type.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("#textA").bind('copy', function() { $('span').text('copy behaviour detected!') }); $("#textA").bind('paste', function() { $('span').text('paste behaviour detected!') }); $("#textA").bind('cut', function() { $('span').text('cut behaviour detected!') });
URL: http://simply-tutorial.com/blog/2010/05/20/how-to-detect-copy-paste-and-cut-behavior-with-jquery/
Comments
