Hey guys,
I am using ajaxPostRequest on button click to send data to custom method in controller witch creates a .xls (with PHPExcel).
Problem is I want the created file to start downloading in the browser, but that dosent work with ajax.
Any other way I could send data to that method so that i could get the 'save file' dialog?
Thanks
I am using ajaxPostRequest on button click to send data to custom method in controller witch creates a .xls (with PHPExcel).
Problem is I want the created file to start downloading in the browser, but that dosent work with ajax.
Any other way I could send data to that method so that i could get the 'save file' dialog?
Thanks