2013年7月28日 星期日

jquery each eg sample example

            aMAs=[<%=CompareNo%>];
            $.each(aMAs, function(i, ma) {
            $.getJSON('ServletProgram?code='+cCODE+'&Type=ModeName &value='+ma+'&callback=?',
            function(data) {
            chart.addSeries( {type: 'line',name: xxx,yAxis: 0, data: data,dataGrouping: { units: groupingUnits} })
            })}
            );

沒有留言:

張貼留言