I\'m using the jQuery Table to CSV Plugin. I\'ve altered the popup so that it tells the browser to download a CSV file.
It was:
function popup(data)
Found a solution that works (with help from http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/):
I changed the function to:
function popup(data) {
$("#main div.inner").append('');
$("#exportdata").val(data);
$("#exportform").submit().remove();
return true;
}
And created the file export.php:
Update: A more IE7 friendly version: