| Author |
How to eliminate copy and paste using javascript
|
srinivas rao
Greenhorn
Joined: Nov 21, 2007
Posts: 5
|
|
Kindly, helpe me in this regard, I have a textarea and should accept only alphanumeric characters upto 500 characters and if we do copy and paste more than 500 characters it should take 500 characters and remaining should eliminate. kindly, provide me the code how to perform this
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56157
|
|
|
"Srinivas", please check your private messages immediately.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
with onchange call a function that uses substring if it is greater than 500 characters. Eric
|
 |
srinivas rao
Greenhorn
Joined: Nov 21, 2007
Posts: 5
|
|
|
Still i couldn't able to get rid of that problem?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56157
|
|
"Srinivas", you chosen to ignore my private message regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post. Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Be aware that accounts with invalid display names are disabled. bear JavaRanch Sheriff
|
 |
 |
|
|
subject: How to eliminate copy and paste using javascript
|
|
|