I don't know if this is possible, and I've been digging around for code for hours with no luck, so I'm going to give this a shot.
Let's say I have a table on a page. It contains the following:
<table id="srctb">
<tr>
<td>Users</td>
<td>Musers</td>
<td>Abusers</td>
</tr>
<tr>
<td>50</td>
<td>34</td>
<td>16</td>
</tr>
</table>
On a different page, I have another table. It looks like this:
<table id="desttb">
<tr>
<td>Users</td>
<td>Musers</td>
<td>Abusers</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
Without having to manually enter the values, like they are in the srctb table, I want to populate table desttb with the exact same values.
Is there a piece of javascript code that will fetch the value of a cell in table srctb, and stick it into a cell in table desttb?
Any help is greatly appreciated!
EDIT: If there isn't a way to do it with javascript, I do believe I can use jquery to a certain extent, but I'm not sure. I know there are better ways to do this, but unfortunately the site where this needs to work is rather limited in capability.
You could save the content of the table in a localstorage object.
page 1:
page 2:
I hope this works!
code example