How To Limit Number Of Characters In Textarea Using jQuery

It's only fair to share...Share on Facebook0Share on Google+2Tweet about this on Twitter0Share on LinkedIn0Pin on Pinterest0Digg thisShare on StumbleUpon0


In this tutorial we will explain, How to Limit Number of Characters in Textarea using jQuery like twitter or YouTube that count number of characters in textarea & show the number to exceed the limit of the textarea using simple jQuery.

First we will create simple textarea form from where user will enter the content:

To stop drag and drop in textarea, simply set onDrop=”return false;”.

Now we will write the jQuery code in our script file


Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">