hi
I used below code to display remaining character in label:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(function () {
$('[id*=TxtSMS]').on("keyup", function () {
$('[id*=LblCount]').html($(this).val().length);
});
});
</script>
here in LblCount will show number of character that will type into textbox...
now I define other Label(LblSend) that I want it show (LblCount)/70
I mean when users are typing into textbox it will show number of character into Lblcount I want when Lblcount==70 then it change s LblSend =1 and when Lblcount =140 it will show Lblsend=2 and when Lblcount=210 it will change lblsend=3...
I mean it adds 1 number to LblSend per 70 characters in Lblcount...
how I can do it?
Best regards
neda