+ 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