I have a textbox with a char counter on a web page (using the example it found here: http://www.smartwebby.com/DHTML/textbox_characters_counter.asp ) If someone types in normal text it works and will refuse to add any extra chars. However if someone copy pastes
a text that is longer than the MaxChars the limit will no longer work(note the original that is copied is not in the textbox but in a seperate entity(eg. Notepad)). Any ideas how to solve this problem.
SilentStorm
Member
12 Points
51 Posts
Char Counter limiter Copy Paste
Aug 17, 2009 07:50 AM|LINK
prasadP
Contributor
5266 Points
771 Posts
Re: Char Counter limiter Copy Paste
Aug 17, 2009 08:36 AM|LINK
Hi Friend,
Try to add this onblur="return taLimit(this)"
and check i think this will work.
prasadP
Blog