Local Storage is supported if you use HTML. First of all you should make sure that your browser supports Local Storage. Data is stored as NAME,VALUE pairs in local storage.
You can review this post.
Let us say you want to store the string "Hi, Good Morning". You need to create a NAME \ VALUE pair, your VALUE being "Hi, Good morning" and the NAME can be anything. In the present example the NAME is "Greetings".
All you need to do is create a web page (just HTML) shown here:
Greetings.png
You can review this post.
Let us say you want to store the string "Hi, Good Morning". You need to create a NAME \ VALUE pair, your VALUE being "Hi, Good morning" and the NAME can be anything. In the present example the NAME is "Greetings".
All you need to do is create a web page (just HTML) shown here:
Greetings.png
When you browse this page on your local IIS Server (localhost), you will see the greeting:
No comments:
Post a Comment