I want to add a table row dynamically in javascript and jQuery.
One solution for this would be:
$('#myTable tr:last').after('<tr>...</tr><tr>...</tr>');
(see: SO: Add table row in jQuery )
This solution has a big disadvantage: it doesn't survive a browser refresh (F5, Ctr-r keys or pressing the refresh button in the browser tab).
Is there a solution to make the added table row (and also the data that was added by the user in input fields) independant from a browser refresh?
Remark: disabling the F5 button and similar things is not an alternative.