table2array
Version:
Converts HTML table to Javascript array
27 lines (26 loc) • 598 B
HTML
<table border="1">
<thead>
<tr>
<th>Monday</th>
<th>Tuesday</th>
<th>Wednesday</th>
<th>Thursday</th>
<th>Friday</th>
<th>Saturday</th>
<th>Sunday</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="4">Superlift Off-Road Adventures</td>
<td rowspan="2" colspan="2">The American Car Prospector</td>
<td>Formula One Drift</td>
</tr>
<tr>
<td>Lund International Truck and Jeep Show</td>
<td>Hooked On Dirt</td>
<td colspan="2">Car Files</td>
<td>World of Trucks</td>
</tr>
</tbody>
</table>