|
|
Feedback: irt.org FAQ Knowledge Base Q1047
Feedback on: Sent by Frank Mair on February 02, 2000 at 04:49:05: - feedback #784
Length: Comments: http://www.developer.com/experts/javascripts/answer189.html Sent by Sheldon Hart on September 24, 2001 at 12:42:46: - feedback #3188
Worth: Comments: Prior to seeing this, I thought the only way to verify the length was after the user submitted the text. This would be very inconvenient and frustrating for them, losing all that they had typed. As a newbie to this work, I really appreciate your kind and very worthwhile information!!! Sheldon Sent by Bill Wilkinson on October 01, 2002 at 18:43:29: - feedback #4183
Worth: Length: Technical: Comments: This question misses the easiest answer of all that works on *ALL* browsers of which I am aware. Just use a setTimeout to check the length of the text in the textarea every quarter second or so. Designer's choice as to whether it just chops the text to max size or pops up an alert. Start the process at page load time and it works every time. function checkTASize( )
|
-- div -->
|