L
L
LuckyRuS2016-09-07 12:17:31
HTTP Cookies
LuckyRuS, 2016-09-07 12:17:31

How to make an active select that is remembered after a page reload?

Good day, aces of programming! Based on the existing lesson, I previously made tabs dimox.name/examples/universal-jquery-tabs-script/c... , but now it became necessary to make a drop-down list that would also remember the user's choice after reloading the page, I took this as the basis for the list this lesson is dedushka.org/uroki/2038.html . Question: How to make an active select that is remembered after reloading the page based on the already existing option? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roma, 2016-09-07
@swarge

Dig towards LocalStorage this will allow you to store data in the browser, the data will not be lost after closing/refreshing the tab

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question