Connecting Tech Pros Worldwide Forums | Help | Site Map

Avoiding Pasting

Paulo
Guest
 
Posts: n/a
#1: Aug 11 '08
I did a js wich dont allow typing string on input text, but how can I avoid
copying and pasting on the input?

Many thanks



Dave Anderson
Guest
 
Posts: n/a
#2: Aug 11 '08

re: Avoiding Pasting


Paulo wrote:
Quote:
I did a js wich dont allow typing string on input text, but how
can I avoid copying and pasting on the input?
http://www.w3.org/TR/html401/interac...#adef-readonly

-- or --

http://msdn.microsoft.com/en-us/libr...57(VS.85).aspx


But in truth, you can't stop a user from editing a form field. See the
[Forms] section here:
http://blogs.digitss.com/misc/web-de...gnerdeveloper/



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.


Closed Thread