$.get(
url: downloadUrl,
function(data) {
//after get the data, how to ask browser pop up to save file?
}
);
数据是由服务器端servlet转储的内容。可以是二进制的。
$.get(
url: downloadUrl,
function(data) {
//after get the data, how to ask browser pop up to save file?
}
);
数据是由服务器端servlet转储的内容。可以是二进制的。
location = downloadUrl;
。