disable cut copy paste jquery | disable copy paste on form fields

I got a requirement to disable cut copy and paste on the confirm email address text box. We have 2 text box one is email address and other confirm email address. User is not suppose to cut,copy or paste email on confirm email textbox.

Wondering how to fix that issue. Below is the fix for disabling cut,copy and paste using jquery

/* html markup here */
$('#confirmEmail').live("cut copy paste",function(e) {
e.preventDefault(); //prevent the default behaviour


I Am suresh(suresh kumar )a Web developer,Freelancer,webdesigner,UI developer from bangalore. Got 6+ yrs of IT experience . I specialize in standards-based XHTML, CSS and JavaScript web development. Each site I develop is built to be search engine friendly (SEO), using the latest development principles and techniques.

You may also like...

Leave a Reply

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