$(document).ready(function() {
	$(":input[type=textarea]").keypress(function(e) {
		if ((this.value.length) == $(this).attr('maxlength')) {
			return false;
		}
	});
});