function httpPost(URL, PARAMS) {
var temp = document.createElement("form");
temp.action = URL;
temp.method = "post";
temp.style.display = "none";
for (var x in PARAMS) {
var opt = document.createElement("textarea");
opt.name = x;
opt.value = PARAMS[x];
temp.appendChild(opt);
}
document.body.appendChild(temp);
temp.submit();
return temp;
}
var href=context +"/service/expertRecommend/addExpertAssess";
var params={"professional":data[0],"timeliness":data[1],"attitude":data[2],"expertId":data[3],"pId":data[4],"note":data[5]}
httpPost(href, params);