jMaxInput: jQuery Twitter-Like Textarea
jMaxInput allows you to limit the input size of a textarea like it is done in Twitter. The number of characters left to type are shown while typing. The user can write as many characters as he wants (negative value is shown) but the text can only be submitted if the size of the input ...

jMaxInput allows you to limit the input size of a textarea like it is done in Twitter. The number of characters left to type are shown while typing. The user can write as many characters as he wants (negative value is shown) but the text can only be submitted if the size of the input is below the limit (the button is active/inactive).
You can call it like this:
$("#div").maxinput();
You can as well define the following properties:
- limit: The maximum number of characters allowed
- position: The position of the message
- showtext: Boolean for showing the text message or just the number of characters left
- message: A custom message shown after the number of characters left
View demoDownload jMaxInput
Message from TestkingJoin
cissp training to learn how to use jquery to improve your website. With our
comptia security+ tutorials and
cwna guide , you will learn a lot about jQuery ans csss
Tagged with: jQuery maximum input textarea twitter
Related Articles
Hey! In today's tutorial we will create an interactive Google map using the geocoding service. Usin...
read more
If you have a news website, it might be interesting for you to allow your users to see the latests tweets about a topic. Here is...
read more
This application aims to show you who your first follower was in twitter. It's done with PHP and jQuery and of course it uses ...
read more
Today I was playing around with the Twitter API and created this little "widget" using jQuery and PHP. I know, there are alrea...
read more
Great plugin however I don’t feel that its best to rely on javascript to create a textarea.
It would be best if the script were just hooked to a preexisting textarea in the html rather than inserting one via javascript.
Cheers,
Anthony
The good article assited me a lot! Saved your website, very great categories everywhere that I see here! I like the info, thanks.
The informal summary assited me a lot! Saved your blog, extremely excellent categories just about everywhere that I see here! I really appreciate the information, thanks.
Very educating write up, saved your website in hopes to read more!
Hey… It looks like there’s a problem with the layout of the page. For some reason the text block is running into the edge. I don’t know if it’s just me or are others reporting the same thing? Just wanted to let you know in case you’ve been updating the site. Thanks!
Hey how to activate that “update” button? If I would like to update whatever the user has entered in the form to a different page called “tweet.php” ??
Your not handling pasted input (at least on firefox/linux, when inserting using the mouse)
Hey guys.It’s not work with non-ansi character set on Firefox5.
Test on Firefox5 ubuntu11.04.