javascript - Locally Store Variables js -
When I write a code, I do this for my own entertainment I am not uploading to a server Or I do not have my own website. I have just written a code that is quite a long time (average) and was just thinking that in any way I used cookies or other methods to store information on a server locally Can store one or two variables without useFor example:
// On the first run, declare variable var rise = 0; // Do something with it when the page opens open set ('increase ++;', 10); // And then when I close the browser browser, then store the value in any way. OnClose (locally store ('keyname', increase)); So when I refresh the page or come back on any other day, the old value will be plugged back and it will continue from where I left off. ..
Thnx!
If you are working under Windows, then you html file . These are basically web pages that run with access to the application level and can do some amazing things.
How do I read it and local files?
Comments
Post a Comment