Basicly i have to read content of HTML table and save this date in cookie. And next red this cookie to refill this same table ater page reload (in first table is generated in jquery)
So I have a HTML table
<table>
<tr>
<td>Name1</td>
<td>Value1</td>
</tr>
<tr>
<td>Name2</td>
<td>Value2</td>
</tr>
</table>
to save cookie i use
document.cookie = 'orderArray = '+table;
I have to save in cookie content of his cells in form:
name1:value1;name2:value2
If I will get this form of dump next I can explod in php to refill table. So, How make dump of this HTML table to this form or may some one have better idea?