var generateHideElement = function (name, value) {
var tempInput = document.createElement("input");
tempInput.type = "hidden";
tempInput.name = name;
tempInput.value = value;
return tempInput;
} var form = document.createElement("form");
document.body.appendChild(form); var jData = generateHideElement("jData", "11"),
jsongroups = generateHideElement("jsongroups", "22"),
cacheKey = generateHideElement("cacheKey", "33"),
execlName = generateHideElement("execlName", "44"); form.appendChild(jData);
form.appendChild(jsongroups);
form.appendChild(cacheKey);
form.appendChild(execlName);
form.method = "post";
form.action = ""
form.submit();