Periodically autosave form

后端 未结 5 2363
别那么骄傲
别那么骄傲 2020-12-02 21:44

How to implement a periodical save of a form in the background? Same kinda thing that gmail does.

5条回答
  •  情深已故
    2020-12-02 21:46

    Why not do this purely on the client, using a local database (or whatever)? That should reduce complexity, server load and bandwidth usage.

    Permanent or per-session storage -- whatever's appropriate -- and you can save after every keystroke: no need for setTimeout().

提交回复
热议问题