Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function textCounter(field, countfield, maxlimit) {
var Comments = document.forms[0].Comments;
if (Comments.value.length > maxlimit)
Comments.value = field.value.substring(0, maxlimit);
else
countfield.value = maxlimit - Comments.value.length;
}
textCounter(this.form.Comments, this.form.remLen, maxlimit)
<input readonly="readonly" type="text" name="remLen" size="3" maxlength="3" value="maxlimit"> characters left.<br>