input maxlength = 10

input maxlength = 20

input maxlength 缺省时,默认maxlength = 10

textarea maxlength = 20


使用方法:

$('class or element').textSum();