I'm currently working on a Bootstrap website with a navigation panel located on the left side. There is a toggler for this navigation panel,
<div class="sidebar-toggler"> </div>
By clicking on the toggler, it hides the navigation pane and another click will show the navigation again.
My goal is to store this toggler state as a cookie so that it remains in that position whenever the user logs in or navigates to different pages.
How can I achieve this using jQuery?
Thank you in advance!