I have a multiline textbox which can contain only 500 characters. Now i want to show the user the number of characters left as they are typing into the textbox as is the case when we use twitter.
Kindly help
I have a multiline textbox which can contain only 500 characters. Now i want to show the user the number of characters left as they are typing into the textbox as is the case when we use twitter.
Kindly help
Take a look at this JQuery script: http://pure-essence.net/stuff/webTips/dodosTextCounter/index.html
You'll have to write some js code.
here is simple snipptet:
<html><form name="form1"><input type="text" name="textArea" size="400" onkeyup="document.form1.count_display.value=document.form1.textArea.value.length;"><br/><input type="text" name="count_display"></form></body></html>
you can change the calculation to show the characters left, or the already typed count, as you need