| |||||||||||||||||||||||||||||||
|
I've got an input field that I want to restrict users to only being able to post as much as will fit into the field without scrolling (approx. 500 chars). I can set the field to a max. chars of 500, but this doesn't take into account line breaks, which allow the user to write much less than 500 chars, but still extend past the visible box. Is there an easy way I can restrict this to the visible box area, or is it a case of parsing the content with a function on each keypress to calculate the limit? I'm worried I will launch into something complicated and time-consuming, while overlooking a simpler technique. Thanks, Richard. _______________________________________________ Flashcoders To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com