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.
Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.
Este sitio utiliza "cookies" útiles para almacenar sus preferencias.