function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
priya burghatepriya burghate 

How to store browser values in cache

Hello,
Ive  a form and there are some fields and submit button  in that form. Every time whenever i insert values in the field and there occure internet failure and every time when i am trying to open that form i should get the earlier filled form which i dont submit.
Can someone please tell me how to store browser values in cache?

Thanks in advanced
Denis VakulishinDenis Vakulishin
Hi,
If you are using Visualforce page you can store values in cookies via Javascript. And restore values on page load via Javascript as well.
http://www.w3schools.com/js/js_cookies.asp