How can a person store a value after a JavaScript has been executed, to pass it on to another function?
I tried defining global variables outside the functions. I then assign them the desired value within a function. However, when I run the second function the value of the global variable is read from its initialization line.
(sorry for posting this twice)
I tried defining global variables outside the functions. I then assign them the desired value within a function. However, when I run the second function the value of the global variable is read from its initialization line.
(sorry for posting this twice)