I have used the following code to retain the selection of a dropdown menu upon the refresh of a page.
$("#form_Selection > option").each(function() {
if (this.value == 'variable') {
this.selected=true;
}
});
I am having a hard time configuring similar code that will retain the state of a checkbox after a refresh. Any ideas?
something like