Commit bf56909e authored by vvengurlekar's avatar vvengurlekar

ExportToExcel js function changed by adding parent div id


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106527 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e0748726
......@@ -57,13 +57,16 @@ function removeCSS()
document.getElementById('ganttfilter').style.visibility = "hidden";
}
function exportExcel()
function exportExcel(id)
{
var htmldata = $('#excelData').html();
var divId = document.getElementById(id).parentNode.id;
var htmldata = $('#'+divId+'').html();
document.getElementById("data").value=htmldata;
document.getElementById("myForm").action = "/ibase/dwh/jsp/ExcelExport.jsp";
document.getElementById("myForm").submit();
document.getElementById("myForm").submit();
}
</script>
</head>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment