I didn't know whether to put this in the ASP section or Javascript section. Please move it into the appropriate section if this isn't correct.
I am trying to export one of my pages to an Excel document. I can do the export successfully. However, my divider, which contains the javascript class (simpleCart_ite ms) is not being transferred during the export.
I am trying to export one of my pages to an Excel document. I can do the export successfully. However, my divider, which contains the javascript class (simpleCart_ite ms) is not being transferred during the export.
Code:
<%
Response.Buffer = true
Response.ContentType = "application/vnd.ms-excel; name='excel'"
%>
<html xmlns:x="urn:schemas-microsoft-com:office:excel">
<head>
<link rel="stylesheet" type="text/css" href="cart.css" />
<SCRIPT src="../simpleCart.js" type=text/javascript></SCRIPT>
<script type="text/javascript">
simpleCart.currency = USD;
simpleCart.cartHeaders = ["Name" , "Color", "Price", "Quantity", "Total",];
</script>
</head>
<body>
<table width="950" id="table1" cellspacing="0" cellpadding="0" style="border-bottom: 1px black solid;">
<tr>
<td width=260px><b>Item</b></td>
<td width=107px align=center><b>Color</b></td>
<td width=127px align=center><b>Price</b></td>
<td width=40px align=center><b>Quantity</b></td>
<td width=138px align=center><b>Subtotal</b></td>
<td width=276px> </td>
</tr>
</table>
<br>
<div class="simpleCart_items" style="border-bottom: 1px black solid; float:left;">
</div>
</body>
</html>
Comment