Maximum Textarea Characters
Here is a working example.
Place this script within the <head></head> section of your page.
<script type="text/JavaScript">
<!--
function limitText(textArea, length) {
if (textArea.value.length > length) {
textArea.value = textArea.value.substr(0,length);
}
}
//-->
</script>
Place onKeyPress="limitText(this,20);" in the textarea tag so it looks like the snippit below. Change the value to suit.
<textarea onKeyPress="limitText(this,20);"></textarea>



