﻿
    function LimitInput(control)
    {
        if(control.value.length > control.attributes["textAreaMaxLength"].value)
        {        
            control.value = control.value.substring(0,control.attributes["textAreaMaxLength"].value);
            alert("Max length exceeded!");
        }
        return false;
    }


