URL–提交地址,data–参数
function Post(URL, data) {
var temp_form = document.createElement("form");
temp_form.action = URL;
temp_form.target = "_self";
temp_form.method = "post";
temp_form.style.display = "none";
for (var item in data) {
var opt = document.createElement("textarea");
opt.name = item;
opt.value = PARAMTERS[item];
temp_form.appendChild(opt);
}
document.body.appendChild(temp_form);
temp_form.submit();
}