Disable Cut Copy Paste In Text Box Using jQuery
27
June
2015

Below code will help you in disabling cut, copy and paste in particular text box.

You just need to pass the text box id in place of ‘#txtInput’ and it works for you.

$(document).ready(function(){
$(‘#txtInput’).bind(“cut copy paste”,function(e) {
e.preventDefault();
});
});

Happy Coding 😀

  • 679 View
  • Pin It