Category Archives: jQuery/JavaScript/Ajax

Force-Download a file with AJAX


While trying to force-download a file, I quickly realized this was not possible with AJAX. I then sat down, drank some coffee, and came up with a solution to this issue. My problem was not being able to set the headers within the AJAX request. Using Elouia’s Force Download to download files, it was working […]

Also posted in CodeIgniter, PHP | Leave a comment