导出为使用Javascript打开,保存,保存对话框从IE 8至11的作品

我想知道是否有任何人有我如何可以出口一个html表格在IE 8中工作在IE 11的客户端优秀的input。

我试过了:

 var blob = new Blob(table], { type: 'text/plain;charset=utf-8;' }); window.navigator.msSaveOrOpenBlob(blob , 'Export.xls'); 

但是,这仅适用于IE 11,因为Blob constructorIE 8中不受支持。

还试过:

 var sa = txtArea1.contentWindow.document.execCommand("SaveAs", true, "IE Excel Export.xls"); 

但是这个不显示OpenSaveSave as对话框。

请build议我可以使用的任何其他选项。

提前致谢。