<script type="text/javascript"> function count(txt) { var textchar='<%= TextBox2.MaxLength %>'; var textbox=document.getElementById(txt); var lbl=document.getElementById('<%= Counlbl.ClientID %>'); if(textbox.value.length>textchar) { textbox.value=textbox.value.substrung(0,textchar); } lbl.innerText=textchar-textbox.value.length+" Characters remaining.."; } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)