I have a div
(1) with display:block
, another div
(2) with display:none
and a third div
also with display:none
.
On each click or form submit I want to change the second div
's display
to block
and the first's to none
.
Though this can be done with Javascript, I want this change of CSS to stick for the particular session. How can I attain just that?