摘要:
(function($) { $.fn.maxlength = function(settings) { if (typeof settings == 'string') { settings = { feedback: settings }; } settings = $.extend({}, $.fn.maxlength.defaults, settings); function length(el) { var parts = $(el).attr("value"); ... 阅读全文