I'm extremely new to Javascript and I need some help to do this. The classes will be pulling from different tables (like below). I just need a way to pull all the cell values out of each class and sum them up. So classone = 1234 + 1234. I'm confused as to whether document.getElementByClassName works? Any help would be appreciated.
<table>
<tbody>
<tr><td class="classone">1234</td></tr>
<tr><td class="classtwo">1234</td></tr>
<tr><td class="classthree">1234</td></tr>
</tbody>
</table>
<table>
<tbody>
<tr><td class="classone">1234</td></tr>
<tr><td class="classtwo">1234</td></tr>
<tr><td class="classthree">1234</td></tr>
</tbody>
</table>