Wednesday, 3 April 2013

Character Count in Jquery | PHP Tutorials for Beginners

In this tutorial of php code for beginners we will show you example how to count character of text field using jquery.

    <script src=""></script>
      function countCharacter(input) {
            var len = input.value.length;
$('#charcount').text('Character Count :- '+len);
    <textarea id="desc" onkeyup="countCharacter(this)"></textarea>
    <div id="charcount"></div>

Hope this php tutorial is useful for you. Keep following for more help.

No comments:

Post a Comment