摘要:
Validation = { textCount: function(field, counter, maxLimit) { var message = $(field).val(); if ($(field).val().length > maxLimit) $(field).val(message.substring(0, maxLimit)) //$(counter).text(maxLimit-field.value.length); }, refreshValidator: function(... 阅读全文