I have created some jQuery affecting a single page. This happened to change the body class tag when you click a button. The problem is when I go to different pages this body tag returns to normal. I was wondering if there is a way to preserve a change in the body tag using jQuery between pages.
I am a little new to jQuery, so I would not know what exactly to search for.
This isn’t really a jQuery thing. Typically you would store your page state in a cookie and then execute code on every page that reads the cookie and reapplies the change.