我在网页上有一张桌子。我想使用cookie将信息保存在输入字段中。即我想重新打开我的网页并查看上次打开网页的数据。
HTML
<table class="table table-striped" id="table-visual-features">
<thead>
<tr>
<th>Visual Feature</th>
<th>Step</th>
<th>Output</th>
<th>Data Feature</th>
</tr>
</thead>
<tbody>
<tr><td>x</td>
<td><select><option>first</option></select></td>
<td><select><option>output</option></select></td>
<td><input name="data-feature_x" id="value0" class = "feature-execution"/></td>
</tr>
<tr><td>x</td>
<td><select><option>second</option></select></td>
<td><select><option>output</option></select></td>
<td><input name="data-feature_x" id="value1" class = "feature-execution"/></td>
</tr>
<tr><td>x</td>
<td><select><option>third</option></select></td>
<td><select><option>output</option></select></td>
<td><input name="data-feature_x" id="value2" class = "feature-execution"/></td>
</tr>
</tbody>
</table>