function serializeForm(form){
var obj = { };
$.each(form.serializeArray(),function(index){
if(obj[this['name']]){
obj[this['name']] = obj[this['name']] + ','+this['value'];
}else {
obj[this['name']] =this['value'];
}
});
return obj;
}
MYYA
狐的传说
相关分类