摘要: /** * 将form表单元素的值序列化成对象 * */ serializeObject = function (form) { var o = {}; $.each(form.serializeArray(), function (index) { if (o[this['name']]) { o[this['name']] = o[this['name']] + "," + this['value']; } else { o[this['name']] = this['value&# 阅读全文
posted @ 2013-05-20 10:19 夕阳茶 阅读(173) 评论(0) 推荐(0)