How can i keep a popup div always open, even on page refresh/reload until a user close it using session storage and jQuery?
I use the following code to show/hide a div using jquery toggle. I try to find a way so browser can remember the last status of the popup div. What i want is to keep this div always open even on page refresh/reload until a user close it. I think that i have to use html5 web storage and jQuery but i don't know how can i apply it on my code.
Could you please help me as cant find anything similar by googling it? :(
Thanks in advance