[jQuery] Create excel file from table data

[jQuery] Create excel file from table data


Hi,
Am wondering if this is possible with ajax and jquery.
I have a table that contains data I would like to export to excel. Is
it possible using the .ajax() method to post the table data (e.g. $
("#tableid")) to the php page on the backend and have it return an
excel file?
I plan on using the pear module Spreadsheet_Excel_Writer to generate
the xls file. Any ideas on whether or not this is possible.
M