Reputation: 1
actually I have a javascript and I need to use it by multiple html pages, but I need to keep modifications on variables, so if one html page changed some variable value the other html pages can see the change, something like static variables, can anyone help?
Upvotes: 0
Views: 97
Reputation: 30892
Three ways:
Since it appears you are new to web development now might be the time to learn about these, I've provided links for reference, but they are easily searchable.
Upvotes: 2