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

jQuery Ajax Render Fragments OR Whole Page -

php - pass fpassthru contents to variable -

ASP.NET Javascript: window.open won't work twice -