I have a multi line textbox.
And through jquery-javascript I am limiting the max character of the textbox.
$('#<%=txt.ClientID%>').val().length
However, when I add a new line in textbox, javascript code counts that as one character but C# takes new line as two character like 'rn'.
Hence causing a difference in character count between javascript code and C# code.
