If a local storage option does not hold a value or does not exist, will it be null or undefined?
it was a variable naming issue
Thanks for your help and I hope you are staying healthy under these strange times
Here is my test
DebugAlert is my own function
All values are present in my alerts. Only the SetOption for crew lead id is getting set right. The other two are not setting at all
The below code gets 2 values from arrays and then I try to set them to local storage options
The result of the options is not proper. The Key values are not created. They are blank in the browser dev tools window.
The first value for [crew_id] is not set (it has a value) and the value for [crew_name] does get set in local storage.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses some useful cookies to store your preferences.