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
Post a Comment