Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Avoiding Pasting (http://www.velocityreviews.com/forums/t804402-avoiding-pasting.html)

Paulo 08-11-2008 06:24 PM

Avoiding Pasting
 
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 08-11-2008 07:22 PM

Re: Avoiding Pasting
 
Paulo wrote:
> 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.




All times are GMT. The time now is 05:28 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.