Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"? Therefore. @techfoobar nice catch. script as well. One of the straightforward options is to use localStorage in the browser to persist the state. Maybe you could do such as thing with a cookie like storing the time and on reload compare the time difference. case where the page posts data back to itself, it can prevent the The JavaScript reload page method loads the page from the cache by default. ), Styling contours by colour and by line thickness in QGIS. Barry Blair and Dave Cooper. There is a problem. Making statements based on opinion; back them up with references or personal experience. In most web browsers, hidden form variables are maintained across Using Kolmogorov complexity to measure difficulty of problems? 1.