serializeObject function(form){
var o = {};
$.each(form.serializeArray(),function(){
if(o[this['name']]){
o[this['name']] = o[this['name']] +"," +this['value'];
}else{
o[this['name']] = this['value'];
}
})
return o;
}将form表单序列化成对象
最新推荐文章于 2025-10-22 09:08:11 发布
300

被折叠的 条评论
为什么被折叠?



