I have several divs on that page that all contain forms. When a user clicks a div and submits the form, the page reloads. After that reload, I want to add a class to that specific div the user selected before the page reload to identify it after the page reload.
My question is, how do I persist the id of that specific div after the page reload?
<div id="1"></div>
<div id="2"></div>
<div id="3"></div>
<script>
$(document).ready(function() {
// What needs to go here...?
});
</script>
Thanks!