I want to save the whole page in the background at certain intervals in order not to lose the existing form values in case of any problem (power outage etc.) for a project.
However, the html() method does not receive the values entered in the existing forms.
How can I output the entire page with the values entered in the forms?
Example
<html>
<body>
...
<form>
<input type="text" name="eq" value="XX">
</form>
...
</body>
</html>