How can I export an HTML table in my page as PDF and/or XLS? (preferably using JS (+jquery))
+4
A:
You can use CSV format that is readable for MS Excel and OO Calc. 'Tis just an easiest way.
If you use jQuery, you can use CSV Plugin.
silent
2009-11-11 09:10:23
+1 for beating me to it!
Dominic Rodger
2009-11-11 09:17:21
And what about pdf?
kramer
2009-11-15 20:25:49
You can't export to pdf exactly from js. You can send CVS to php-script that can generate pdf - http://www.php.net/pdf
silent
2009-11-16 07:41:17