﻿function TextAreaMaxLength(textAreaID, maxLen) {
    textArea = document.getElementById(textAreaID);
    if(textArea.value.length >maxLen) {
        textArea.value = textArea.value.substring(0, maxLen);
    }
} 


