Javascript resets its code? -


i'm working on website ask question , gives answer , i'm wondering after 1 set of questions being asked user re directed next page answer more questions question javascript reset. let when user press button turn blah true return false if re direct user new page

unless using form of storage (local storage, cookies, etc) page reset. if use storage require work bring out of storage well.

every time go page associated javascript run if first time ever ran.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -