This is how I do, but it also counts the new line characters
$(document).ready(function(){
$('#testo').keyup(function() {
$len=$('#testo').val().length;
$('#counter').text($len)
});
});
how do I have to modify this code to don't count the new lines?


Sign In
Create Account


Back to top









