How to keep a class a class active if that class was visited in the past ?
what I want :-
Page 1 => Page 2(selected some options) =>Page 1 => Page 2(options that were selected in the past should remain active)
what is happening :-
Page 1 => Page 2 (options selected ) => Page 1 => Page 2 (all the options are unselected and and not active)