Disable Copy or Paste action for text box?
EX. Email : < input type = "textbox" id = "email" >< br /> Confirm Email : < input type = "textbox" id = "confirmEmail" > I have two solution 1. Use $ ( '#email' ). bind ( "cut copy paste" , function ( e ) { e . preventDefault (); }); $ ( document ). ready ( function (){ $ ( '#confirmEmail' ). bind ( "cut copy paste" , function ( e ) { e . preventDefault (); }); }); 2. Use Email : < input type = "textbox" id = "email" oncopy = "return false" onpaste = "return false" >< br /> Confirm Email : < input type = "textbox" id = "confirmEmail" oncopy = "return false" onpaste = "return false" >