I have this requisition:
var exportUrl = 'http://export.highcharts.com/';
$.post(exportUrl, d1, function(d1) {
});
Since exportUrl + d1 becomes the url of my server-generated image. how do I continue the process and download it?
I tried this, but it did not work, he just opened a flap and showed the image.
window.location.href=(exportUrl+d1);