//获取表单参数
var DataDeal = {
formToJson: function (id) {
var data=$(id).serialize();//获取值
data = decodeURIComponent(data,true);//防止中文乱码
data=data.replace(/&/g,"","");
data=data.replace(/=/g,"":"");
data="{""+data+""}";
return JSON.parse(data);
},
};