How do I post parameter on d3.json?

后端 未结 5 579
無奈伤痛
無奈伤痛 2020-12-08 10:50

I\'m using d3.json to get a dynamic data.

d3.json(\"/myweb/totalQtyService.do\", function(json) {

    drawChart(json);
});

How do I post

5条回答
  •  温柔的废话
    2020-12-08 11:39

    If you use struts you can define the url and the parameter:

    
        
    
    
    . . . d3.json('${jsonsearchTag}', function(error, flare) { ... } . . .

提交回复
热议问题