$.fn.extend({
serializeObject:function(){
var p={},d={},a=this.serializeArray();
$.each(a,function(){
var s=p[this.name];
s=!s?[]:s;
s.push(this.value);
p[this.name]=s;
});
for(var kin p){
d[k]=p[k].join()
}
return d;
}
});
$.fn.extend({
serializeObject:function(){
var p={},d={},a=this.serializeArray();
$.each(a,function(){
var s=p[this.name];
s=!s?[]:s;
s.push(this.value);
p[this.name]=s;
});
for(var kin p){
d[k]=p[k].join()
}
return d;
}
});