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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -