I am posting some data to the server using jquery ajax. The server spews out a file (if the request is successful). I am just wondering how to initiate the save file dialog within the success callback given the results? Thanks.
PS:
The simplest solution is:
$('#ExportToExcel').click(function () {
$('#form').attr({ action: 'bla' });
$('#form').submit();
return false;
});