javascript - angularjs localstorage against page refresh -
i doing few steps form angularjs. there possibility user hit f5 button, , refreshes page. data collected angular deleted. prevent myself against possibility.
i thought using local storage , angular library that, far i'm not convinced yet proper path deal problem. thinking correct, or there better idea solve that?
chek out http://sisyphus-js.herokuapp.com/?utf8=%e2%9c%93&basic_form_country=usa&basic_form_name=hihi~&button=#advanced-sample library persist form's data in browser's local storage. easy use, have option save input field , able retrieve other page.
Comments
Post a Comment