<script type="text/javascript">
var year = document.getElementById("yearCode").value;
var rtl=document.getElementById("depFs1"); //获取下拉框对象
var depPathFlag = rtl.options[rtl.selectedIndex].value; //获取被选中的值
var chart = new FusionCharts("${pageContext.request.contextPath}/jsp/sys/FusionChartsFree/Charts/FCF_Area2D.swf", "ChartId", "1000", "450");
chart.setDataURL(escape("${pageContext.request.contextPath}/reports.action?submitFlag=toYearNewlyClientST&yearCode="+year+"&depPathFlag="+depPathFlag));
chart.render("chartdiv");
</script> </td>
本文出自 “小浩” 博客,请务必保留此出处http://zhangchi.blog.51cto.com/5214280/1251172