Need help with two things. I have a download button when I click on it I want it to download as excel file. Here is code for button:
<th bgcolor="#000080" scope="col" colspan="1"><button style="background-color:#88BD63; border: none;" ><img src="images/reports/download-arrow.png" alt="logo" />
DOWNLOAD CSV</button></th>
Also I have a table with a few rows and the first column has a checkbox. When someone checks a box(es), it shows the number selected on the button, click a button called View it should display those selected. I’m not sure how to do that. Here is the code for the table and checkbox column and the View button
<tr>
<th><input type="checkbox"></th>
<th>NAME</th>
<th>ADDRESS</th>
<th>P.O. ID</th>
<th>FEL COST (MONTH TO DATE)</th>
<th>COMPACTOR COST (MONTH TO DATE)</th>
<th style="text-align: left">OPEN ISSUES</th>
</tr>
<tr>
<td><input type="checkbox"></td>
<td>JOE SMITH</td>
<td>5427 INDIANA BLVD.</td>
<td>50</td>
<td>$166.00</td>
<td>$13,570.00</td>
<td style="text-align: left">NONE</td>
</tr>
<tr>
<td><input type="checkbox"></td>
<td>TOM JACKSON</td>
<td>6 W SOUTH DR.</td>
<td>94</td>
<td>$377.50</td>
<td>$3,433.00</td>
<td style="text-align: left">1101 - BROKEN</td>
</tr>
</table>