0

How to disable cut copy paste using jquery

In this post I will Share a JQuery Code to disable CUT,COPY & PASTE that you can include in your website.If you have some Secured content on your website and you don’t wanna let people duplicate it to their websites then you can put this one line code to your site page.Or on the other hand if you want to prevent cut,copy,paste for a particular div/container then you can also do that with this small code.

this is like a bank site where you are supposed to enter account numbers twice and you are not permit  cut,copy paste the data to keep banking sites safe.So if you are also managing a site like this then you can apply this code in text boxes to prevent duplicating the records .

disable copy paste in textbox using javascript, disable copy paste in textbox using jquery, disable copy paste using javascript, how to disable copy paste in textbox using javascript disable copy paste in textbox, how to enable copy paste in textbox in jquery, jquery enable copy paste

First of all include jquery library on your page.

1. disabling cut copy paste feature for whole web page.

2. disabling cut copy paste feature for any html element by passing their ID or Class name

Add .disable class to which element you want to disable cut copy paste feature.

Leave a Reply

Your email address will not be published. Required fields are marked *