Possible Duplicate:
Disable Copy/Paste into HTML form using Javascript
My bank seem to have disabled copy-paste of username and password.
How is it done? Does it improve security?
Possible Duplicate:
Disable Copy/Paste into HTML form using Javascript
My bank seem to have disabled copy-paste of username and password.
How is it done? Does it improve security?
You can disable paste in your input as follows:
html:
javascript:
Talking about security, I wouldn't say that this makes any impact. You would usually use client side and well as server-side validation of data submitted by the user.
Hope this helps