[Seaside] Facebook Style - textArea height:auto

Philippe Marschall philippe.marschall at gmail.com
Sun Nov 8 13:08:00 UTC 2009


2009/11/6 dirk newbold <dirkdirk at gmail.com>:
> Hi,
>
> Does anybody know how to achieve an auto increase of the height of a
> textArea to fit the input text as the user types, e.g. composing a new
> mail or adding a comment in Facebook.

IIRC there's a JS trick of writing the contents to an invisible div
and giving the text area the same dimensions as the div. As usual, ask
Lukas ;-)

Cheers
Philippe


More information about the seaside mailing list