<script type="text/javascript"> $(document).ready(function () { var length = 200; // predefined textbox char size var remaining = 200; var txtBox = $("#<%=TextBox.ClientID %>"); txtBox.onchange(function () { remaining = (length - txtBox.val().length); $('#lblTextRemain').val(remaining); }); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)