软件开发、小程序制作、系统集成与运维、空间租用、硬件开发、视频监控、技术咨询与支持——联系电话:0311-88999002/88999003
复制代码 代码如下: function serializeObject(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"]; } }); return o; }