Google Groups Home Help | Sign in
Message from discussion Limit <textarea> length without losing caret position
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Álvaro G. Vicario  
View profile
 More options May 9, 6:53 am
Newsgroups: comp.lang.javascript
From: "Álvaro G. Vicario" <alvaroNOSPAMTHA...@demogracia.com>
Date: Fri, 09 May 2008 12:53:18 +0200
Local: Fri, May 9 2008 6:53 am
Subject: Limit <textarea> length without losing caret position
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
--


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google