I have the following code, and I\'m kind of stuck on what to do next. The idea is when you enter text into a text area a counter tells you how many characters you have left.
try this.
var charLmt = "200";//max charterer $("#send-txt").keydown(function(){ var _msgLenght = $(this).val().length; if (_msgLenght > charLmt) { $(this).val($(this).val().substring(0, charLmt)); } });