javascript - How to implement textarea that will restore your typing when asking a question after you close and reopen it


implement html5 storage? upload server session?

which better approach?

html5 storage? yes can, won't supported old browsers. ways of doing are:

  1. store draft cookies every n seconds.
  2. store draft @ server side using ajax requests every n seconds.

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -