Disable drop and paste in text boxes
function removeDropPaste() | |
{ | |
jQuery(".numeric").bind("paste", function (e) { | |
return false; | |
}); | |
jQuery(".numeric").bind("drop", function (e) { | |
return false; | |
}); | |
} | |
// remove the drop and paste on text boxes | |
jQuery(document).ready(function(){ | |
removeDropPaste(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment