function su() {
var temp = document.createElement("form");
temp.action = "orderDetails.html";
** temp.method = "post"; **
temp.style.display = "none";
var hideInput = document.createElement("input");
hideInput.type="hidden";
hideInput.name= "content";
hideInput.value= "ssss";
temp.appendChild(hideInput);
document.body.appendChild(temp);
temp.submit();
}
get方式可以正常跳转,post方式直接报 内部服务错误