var items = this.searchForm.getForm().items.items;
var dataParam = this.getDailyDataParam(items);
var tempform = document.createElement("form");
tempform.action = this.ctx + '/addata/exportAdMasterDaily.sdo';
tempform.method = "post";
tempform .target = "_blank";
tempform.style.display = "none"
for (var x in dataParam) {
if(dataParam[x] instanceof Array && dataParam[x].length >1){
for (var int = 0; int
var opt = document.createElement("input");
opt.name = x;
opt.value = dataParam[x][int];
tempform.appendChild(opt);
}
}else{
var opt = document.createElement("input");
opt.name = x;
opt.value = dataParam[x];
tempform.appendChild(opt);
}
}
var opt = document.createElement("input");
opt.type = "submit";
tempform.appendChild(opt);
document.body.appendChild(tempform);
tempform.submit();
document.body.removeChild(tempform);