I have a textarea element in a Facebook application I want to limit, visually, to a certain number of characters. This is a code snippet I got from the web: