Save data history to input field

Asked

Viewed 212 times

0

I have a whole system in ajax, therefore when the user fills a form and persists the information is not saved in the fields, have as I force this behavior in the fields via javascript?

  • There is the localStorage, but I do not consider it robust or safe. I used the Firebase service a little and may be a better option.

  • more that way I would have to save all user navigation in a database separately! it would be nice to take advantage of the browser resources for this, but the history only works for href and submits

  • By submitting the information by ajax, are you giving a Reload on the page? The idea of ajax is not to carry out a load on the page, staying in it and preserving the informed data.

  • so I don’t re-load..., I’ll try to explain. I have a list in which the user puts the value and search, this query is ajax and the table of results is mounted, but the client wants that when leaving and back he can click and see the latest information that he typed because in the old system he had this functionality but the system was not ajax, so I’m trying a possibility to cache instead of creating an autocomplete by taking from the bank

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.