Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Limit <textarea...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 35542 of 36377
Post > Topic >>

Limit <textarea> length without losing caret position

by =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= May 9, 2008 at 12:53 PM

I need to emulate the missing "maxlegth" attribute in "textarea" fields 
but all my Google searches either lead to obsolete scripts that 
overwrite the "value" property (thus losing caret position) or to 
complex solutions that work on top of specific frameworks.

Do you have some reference on how to do it? I'd like to make it work in 
at least Firefox and IE 6 and 7.

Thank you in advance,


-- 
-- http://alvaro.es
- Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
 




 8 Posts in Topic:
Limit