我现在的问题是这样的,在Flex端,我已经将字符串拼装好了,并且已经传给了javascript,想请问各位在javascript里面怎么写,能把下面这段字符串直接导出为excel文件?多谢各位了
传递给javascript的字符串格式如下:<div style="width: 100%;">
<div style="font-size: 20px; font-weight: bold; text-align: center;">
2010-05-24设备清单</div>
<br>
</div>
<table width="612" border="1">
<thead>
<tr width="612" style="background-color:#NaN">
<th style="font-family:Arial;font-size:10pt;mso-number-format:\@">设备编号</th>
<th style="font-family:Arial;font-size:10pt;mso-number-format:\@">设备名称</th>
</tr>
</thead>
</table>