//ie textarea不支持maxlength $('#verify_note').bind('input propertychange', function() { if (this.value.length > 100) { this.value = this.value.substr(0, 100); } });