摘要: (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"); ... 阅读全文
posted @ 2012-07-20 11:23 AlanCoder 阅读(217) 评论(0) 推荐(0) 编辑
View Code