Disable the Past Content in Text Box and Disable the right Click <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script language="javascript"> function whichButton(event) { if (event.button==2)//RIGHT CLICK { alert("Not Allow Right Click!"); } } function noCTRL(e) { var code = (document.all) ? event.keyCode:e.which; var msg = "Sorry, this functionality is disabled."; if (parseInt(code)==17) //CTRL { alert(msg); window.event.returnValue = false; } } </script> </head> <body> <form method=""> <strong>Not Allow Paste </strong><BR> <input type="text" value="" onMouseDown="whichButton(event)" onKeyDown="return noCTRL(event)"/> </form> </body> </html> OR javascript function noC...
ASP.NET || Javascript || Dataobject || Code Solutions Free Open Source code for Developers