I have 100 table
s on this page and each has a checkbox
. My goal is to download the contents of each table that has the corresponding checkbox
checked to one cvs
file. Here is the code for the table.
for(int i = 0; i <100; i++){%>
<table style="text-align: left;" id="Table<%= i %>" cellpadding="5" cellspacing="2" frame="box">
<input type="checkbox" name='checkbox<%= i %>' checked> Include <br>
<%String[][] p = players1.remove(0);
for(int j=0;j<9;j++){ %>
<tr>
<%for(int k=0;k<10;k++){%>
<td style="vertical-align: top"><%= p[j][k]%><br></td>
<%}%>
</tr>
<%} %>
Here is a picture of the tables on my page to help visualize.