Skip to content

Instantly share code, notes, and snippets.

@yogeshdubey2006
Created December 29, 2018 11:23
Show Gist options
  • Save yogeshdubey2006/1d017792522043fb181dc0294199ac53 to your computer and use it in GitHub Desktop.
Save yogeshdubey2006/1d017792522043fb181dc0294199ac53 to your computer and use it in GitHub Desktop.
Useful Html Code
<!-- To prevent cut copy paste in text field -->
<input type="text" onselectstart="return false" onpaste="return false;" onCopy="return false" onCut="return false" onDrag="return false" onDrop="return false" autocomplete=off />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment