I hope you can help me or correct me if I am wrong .. I would like to know if it is possible to use the same javascript in two different html files, without losing the values of the variables that would be generated from the first tab when using the script. or how can I do so that when the second tab opens (second html file) I use those values that are generated in the script when the first tab is opened (first html file).
and tried to link the same script from the two html files but when the second tab is loaded it is as if the variables were formatted to the predefined ones.
I hope you can give me ideas:)