<script type="text/javascript">
function CharactersCount()
{
var CharLength = '<%=ID.MaxLength %>';
var txtMsg = document.getElementById("<%= ID .ClientID%>");
if ( ID .value.length > CharLength) {
ID.value = ID.value.substring(0, CharLength);
}
}
</script>
function CharactersCount()
{
var CharLength = '<%=ID.MaxLength %>';
var txtMsg = document.getElementById("<%= ID .ClientID%>");
if ( ID .value.length > CharLength) {
ID.value = ID.value.substring(0, CharLength);
}
}
</script>
No comments:
Post a Comment