Forum Discussion
Local Storage Issues
- 4 months ago
if you read the local storage
you get the string "true" or "false"
in your script you use boolean compare
change the line - add two quotes
if(Fam_completed == "true") {
edit:
- you should check the storyline variables - are they "Text" (string) or "True/False" (boolean)
- the data types must match between storyline / javascript / localStorage
Thank you so much, that worked perfect. I knew it was something simple.
I was wondering if there is a way to bring the original window back into focus when the child window closes? Any suggestions would help tremendously.
Thank you,
Tracy Cowan
Sr Content Developer
Southwest Airlines University
tracy.cowan@wnco.com
[cid:image001.png@01DAE8DE.E91EBB20]
******* CONFIDENTIALITY NOTICE *******
This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message from your system. Thank you.
Hi Tracy!
Glad to see Walt and Jurgen have been helping you with your Javascript request!
I just wanted to share that part of your e-mail signature came through when you replied via e-mail. This Peek video will show you how to edit it out if you’d like!