Answer the question
In order to leave comments, you need to log in
How to save what was clicked (radio selection) when reloading the page?
In general, an example of how onclick works
Answer the question
In order to leave comments, you need to log in
Choice 2: either cookies or GET, if this is what the user chooses, then for sure there is nothing to hide, which means that you can use GET, but then you have to check the input data - yes, it’s always better to check them for safety - the more cookies will look finer so take your pick
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question