I’ve changed a few pages from using generic JavaScript that sets a CSS style property
element.style.display = "none";
to jQuery’s method
element.hide();
When the back button is used to return to my page, elements that were hidden using jQuery are no longer hidden. When I use raw JavaScript to set the display, the hidden elements stay hidden when I return to the page.
Is there a workaround to allow jQuery’s hide() function to work the same way?
jQuery’s
hidemethod performsYou have some other problem.
The full method is