创建一个form表单,提交该表单
<a href="javascript:void(0)" onclick=getPostUrl(url)>
function getPostUrl(url,pageNo){
// 创建form,发请求
var temp = document.createElement("form");
temp.action = url;
temp.method = "post";
temp.style.display = "none";
var opt = document.createElement("input");
opt.type = "text";
opt.name = XXX;
opt.value = XXX;
temp.appendChild(opt);
document.body.appendChild(temp);
temp.submit();
return temp;
}