$.get(
url: downloadUrl,
function(data) {
//after get the data, how to ask browser pop up to save file?
}
);
data is content dumped by serve开发者_JAVA百科r side servlet. can be binary
Don't use Ajax for this, just location = downloadUrl;
$.get(
url: downloadUrl,
function(data) {
//after get the data, how to ask browser pop up to save file?
}
);
data is content dumped by serve开发者_JAVA百科r side servlet. can be binary
Don't use Ajax for this, just location = downloadUrl;
精彩评论