How do i prevent firefox from caching page state? I’m developing a web app and firefox is automatically setting previously checked checkboxes without triggering any events. Is there a way to prevent firefox from doing this or do I just have to reset my entire ui on startup with js?
Share
You can add
autocomplete="off"to the afflicted fields, MDN Document. If that doesn’t work and you can use jQuery I would go with$(form).reset()on page load as an easy fix.