Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Stay in same div when refresh page Reply To: Stay in same div when refresh page

#241167
Beverleyh
Participant

Local Storage and cookies spring to mind.

If you want to keep all the form data when the page is refreshed, try Googling something like “retain form values in local storage” and start your research there.

If you simply want to remember a selected tab, a cookie might be enough, so Google how to read and write cookies.