How to disable cut,copy & paste in TextBox using jQuery?

 Posted by vishalneeraj-24503 on 7/2/2014 | Category: jQuery Interview questions | Views: 455 | Points: 40
Answer:

Write Below code on ASPX page:-
<script type="text/javascript">

$(document).ready(function ()
{
$('#txt_employee_code').bind('copy paste cut',function(e)
{
e.preventDefault();
});

});
</script>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response