Saving variables in local HTML -
i making html file myself , want able enter variables close program , when open agian still remember variable without me having enter again? possible do
this how can set , variables local storage:
localstorage.setitem("key", "value"); alert(localstorage.getitem("key"));
this display value on screen.
Comments
Post a Comment