$(function() {
$('#orderTextarea').keypress(function(event){
var number = $(this).val().length,
counter = $('.count'),
color = 'white';
counter.find('>.now').html(number);
if (number >= $(this).attr('maxlength')) {
color = 'red';
} else if (number >= 200) {
color = 'orange';
}
counter.css('color', color);
});
});