Friday, September 7, 2012

Disable Cut,Copy and Paste for textbox Using Jquery In asp.net

$(document).ready(function () { 
$('#<% = txtFromDate.ClientID %>').bind('copy paste cut', function (e) 
{ e.preventDefault();  
}); });

This Code can disable cut text from textbox,copy the text from textbox and paste in textbox

No comments:

Post a Comment

Comments

Search

Custom Search
Protected by Copyscape Plagiarism Software