摘要: 1 serializeObject = function (form) { /*将form 表单元素的值序列化*/ 2 var obj = {}; 3 $.each(form.serializeArray(), function (index) { 4 if (obj[this['name']]) { 5 obj[this['name']] = obj[this['name']] + "," + this['value']; 6 } else { 7 obj[this['name']] = th 阅读全文
posted @ 2012-06-15 16:15 少爵 阅读(2076) 评论(0) 推荐(0) 编辑