I need to export an .xls file from a web page that contains only a table in HTML.
Now I'm using document.execCommand("SaveAs","true","documentname.xls");
but for IE 7 and IE 8 on Windows XP SP3 there is no Save As dialog popup.
I can use only HTML and JavaScript (no server side scripting) and the file extension must already be .xls for the user to save it. (The user cannot change the file extension later).
How can I accomplish that?