March 18, 2015

Twitter like character counter for textareas

Twitter style character counter shows the character count that you can use to type in for a particular post. The user know they are approaching the limit by seeing the character count displayed. If there are no characters or if the limit exceeds you can't post your text. As the user types the text, the plugin counts unused characters. When a limit is exceeded, the counter goes to a negative value and the button gets disabled.

When there is no text typed inside the textarea the post button will be disabled. Even when the character count exceeds 140 character the post button will be disabled. You can only post if either you have typed in some characters or the character count is less than or equal to 140 characters.