<script src="http://code.jquery.com/jquery-1.9.1.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $(document).ready(function(){ $('#read').bind("cut copy paste",function(e) { e.preventDefault(); alert(" 'Ctrl+c & Ctrl+x & Ctrl+v has been disabled' ") }); }); }); </script> <input type="text" id="read" />
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
Wednesday, 5 November 2014
How to disable Ctrl+V (Paste) , Ctrl+X (Cut) and Ctrl+C (Copy) with jQuery?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment