'How to add elements in a <table> to history.back()
I have a web application with a form where users can add rows to a <table>. I am using javascript with the DOM model for this.
When the user completes the form and wants to go back to the previous page, I use history.back() . However, the data in my table is not retrieved? My table is empty when the user returns with history.back().
I tried when submitting the form to do a history.replaceState() thinking that it would save the items in the table but it doesn't work.
Do you have any ideas?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
